Use this app to interact with the Discord API using a bot in your account
Authorize a specific member (node) in a network. See docs here
Assign a role to a user. Remember that your bot requires the MANAGE_ROLES
permission. See the docs here
Delete a specific member (node) in a network. See 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}`,
},
})
},
})
ZeroTier is a smart Ethernet switch for Earth. It's a global distributed network that connects devices, VMs, and apps with a simple, secure, and ubiquitous network fabric. The ZeroTier API allows you to manage networks, members, and access rules programmatically. With Pipedream's capabilities, you can automate interactions with ZeroTier, integrating it seamlessly with other apps and services to orchestrate complex workflows, react to events, or sync data across platforms.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
zerotier: {
type: "app",
app: "zerotier",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://my.zerotier.com/api/v1/org`,
headers: {
Authorization: `Bearer ${this.zerotier.$auth.api_token}`,
},
})
},
})