Use this app to interact with the Discord API using a bot in your account
Emit new event for each message posted to one or more channels
Emit new event when a contact group is updated. See the documentation
Emit new event when a contact is updated. See the documentation
Emit new event when a new contact is created. See the documentation
Emit new event when a new contact group is created. See the documentation
Assign a role to a user. Remember that your bot requires the MANAGE_ROLES
permission. See the docs here
Create a new invite for the channel. See the docs here
The Discord Bot API unlocks the power to interact with Discord users and channels programmatically, making it possible to automate messages, manage servers, and integrate with other services. With Pipedream's serverless platform, you can create complex workflows that respond to events in Discord, process data, and trigger actions in other apps. This opens up opportunities for community engagement, content moderation, analytics, and more, without the overhead of managing infrastructure.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
discord_bot: {
type: "app",
app: "discord_bot",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://discord.com/api/users/@me`,
headers: {
"Authorization": `Bot ${this.discord_bot.$auth.bot_token}`,
},
})
},
})
The Google Contacts API allows you to integrate your contact data with custom applications, enabling you to sync, manage, and leverage your contact list for a variety of functions. Through Pipedream, you can seamlessly connect the Google Contacts API to various other services, streamlining contact management tasks such as syncing contact details across platforms, automating outreach or follow-ups, and gathering insights from contact interactions.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
google_contacts: {
type: "app",
app: "google_contacts",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://people.googleapis.com/v1/people/me`,
headers: {
Authorization: `Bearer ${this.google_contacts.$auth.oauth_access_token}`,
},
params: {
personFields: `names,emailAddresses`,
},
})
},
})