Discord Bot

Use this app to interact with the Discord API using a bot in your account

Go to site
Explore
/
Apps
/
Discord Bot

Discord Bot API Integrations

Build and run workflows using the Discord Bot API. Use 1000s of open source triggers and actions across 500+ apps. Or write custom code to integrate any app or API in seconds.

return await require("@pipedreamhq/platform").axios(this, {
  url: `https://discord.com/api/users/@me`,
  headers: {
    "Authorization": `Bot ${auths.discord_bot.bot_token}`,
  },
})
Get Current User Guilds

List the guilds the current bot user is a part of from the /users/@me/guilds API endpoint

 
Try it
Modify Guild

Modify a guild's settings. Requires the MANAGE_GUILD permission. Returns the updated guild object on success

 
Try it
List Guild Members

Returns a list of guild member objects that are members of the guild, from the /guilds/{guild.id}/members endpoint

 
Try it
Get Channel

Get a channel by ID. Returns a channel object.

 
Try it
Get User

Returns a user object for a given user ID from the /users/{user.id} endpoint

 
Try it

Authentication

Discord Bot uses API keys for authentication. When you connect your Discord Bot account, Pipedream securely stores the keys so you can easily authenticate to Discord Bot APIs in both code and no-code steps.

If you haven't created a Discord bot, see these instructions or watch this video. You'll need to add this bot to your server(s).

Once you've created your bot, you'll find the Bot token within the Bot section of your app.