Use this app to create a Discord source that emits messages from your guild to a Pipedream workflow.
Checks the provided IP address (both v4
& v6
formats) and returns all available information. See the docs here
Retrieves information for a specific ASN (autonomous system number). See the docs here
Retrieves all domains hosted on a single IP address. See the docs here
Send a simple or structured message (using embeds) to a Discord channel
The Discord API interacts seamlessly with Pipedream, empowering you to craft customized automations and workflows for your Discord server. With this powerful integration, you can automate tasks like message posting, user management, and notifications, based on a myriad of triggers and actions from different apps. These automations can enhance the Discord experience for community moderators and members, by synchronizing with external tools, organizing community engagement, and streamlining notifications.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
discord: {
type: "app",
app: "discord",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://discord.com/api/users/@me`,
headers: {
Authorization: `Bearer ${this.discord.$auth.oauth_access_token}`,
"accept": `application/json`,
},
})
},
})
The ipbase API offers the ability to get detailed information about IP addresses, including geolocation data, ISP details, and connection type. Using this API on Pipedream allows for the automation of tasks like analyzing web traffic, customizing user content based on location, and enhancing cybersecurity measures by detecting unusual IP activities. On Pipedream, you can integrate this API into workflows that trigger automatically, process the data, and connect with other services for comprehensive solutions.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
ipbase: {
type: "app",
app: "ipbase",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.ipbase.com/v2/info`,
params: {
apikey: `${this.ipbase.$auth.api_key}`,
},
})
},
})