Use this app to create a Discord source that emits messages from your guild to a Pipedream workflow.
Helps users to obtain domain information, WHOIS record, by using a domain name. Please refer to the documentation for the details of the fields returned.
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 IP2WHOIS API is a lookup tool that can fetch WHOIS information for a given IP address or domain. This data includes registration details, contact information, and sometimes even personal or organization-related data of the domain owner. Leveraging this API on Pipedream allows you to create automated workflows that can enrich IP data, monitor domain registration changes, or integrate WHOIS information into security analysis. By tapping into Pipedream's capabilities, you can trigger actions based on this data across various apps and services.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
ip2whois: {
type: "app",
app: "ip2whois",
},
domain: {
type: "string",
default: "greendot.com"
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.ip2whois.com/v2?key={your_license_key}&domain={domain_name}`,
params: {
key: `${this.ip2whois.$auth.api_key}`,
domain: `${this.domain}`,
},
})
},
})