Use this app to interact with the Discord API using a bot in your account
Add a comment to an entry/item within a list/collection on Zenkit. See the docs
Assign a role to a user. Remember that your bot requires the MANAGE_ROLES
permission. 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}`,
},
})
},
})
Zenkit is a versatile project management and collaboration tool that lets you organize your data and build custom workflows to streamline your business and personal projects. With the Zenkit API, you can create, read, update, and delete items in your collections, manage users, and automate notifications or actions based on changes within your datasets. Combining Zenkit's API with Pipedream's capability unlocks powerful automation opportunities, allowing you to interconnect your project data with numerous other services and internal systems to enhance productivity, data consistency, and event-driven processes.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
zenkit: {
type: "app",
app: "zenkit",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://zenkit.com/api/v1/users/me`,
headers: {
Authorization: `Bearer ${this.zenkit.$auth.oauth_access_token}`,
},
})
},
})