All connectors
Discord Bot integration
Discordbot refers to automated programs on Discord servers, performing tasks like moderation, music playback, and user engagement to enhance community interactions
Connect Discord Bot to Xenition and work with it from chat, from an agent, or on a schedule — alongside every other app you have connected, in one workspace.
What you can do with Discord Bot
Ask in plain language and Xenition calls the right one:
- Add recipient to group channel — Adds a user to a Discord group DM channel. Requires a user OAuth2 access token with the gdm.join scope. Bot tokens cannot be used for this endpoint.
- Add guild member — Adds a user to a Discord guild using their OAuth2 access token (which must have guilds.join scope). Returns the guild member object on 201 Created, or indicates the user is already a member on 204.
- Assign role to guild member — Assigns a role to a guild member. Requires MANAGE_ROLES permission and the role must be lower in hierarchy than the bot's highest role. Returns 204 on success.
- Add Reaction To Message — Adds an emoji reaction from the bot to a message. Requires READ_MESSAGE_HISTORY, and ADD_REACTIONS if no one else has reacted with this emoji yet.
- Add thread member — Adds a user to a specific, unarchived thread. The user must have access to the parent channel.
- Ban user from guild — Permanently bans a user from a Discord guild, optionally deleting their recent messages.
- Bulk ban users from guild — Bans up to 200 users from a Discord guild, optionally deleting their recent messages. Requires BAN_MEMBERS permission.
- Bulk Delete Messages — Bulk deletes messages in a Discord channel. Requires MANAGE_MESSAGES permission. Messages must be less than 14 days old. Between 2 and 100 messages can be deleted at once.
- Create global application command — Creates a new global Discord application command. Global commands can take up to an hour to propagate. Command names must be unique per type within the application scope.
- Create auto moderation rule — Creates a new auto moderation rule for a Discord guild. Requires MANAGE_GUILD permission. Use this to set up filters for profanity, spam, excessive mentions, or custom keywords.
- Create channel invite — Creates a new invite link for a Discord channel. Requires CREATE_INSTANT_INVITE permission.
- Initiate user channel with recipient — Creates a new direct message (DM) channel or retrieves an existing one, using recipient_id for a 1-on-1 DM or access_tokens for a group DM; this action only establishes or fetches the channel and does not send messages.
- Create new guild — Creates a new Discord guild (server). The bot must be in fewer than 10 guilds to use this endpoint. Icon must be a base64 encoded 128x128 image, and if afk_channel_id is set, afk_timeout must also be set.
- Create guild application command — Creates a new guild-specific application command. Command names must be unique per type within the guild (max 100 total commands).
- Create guild channel — Creates a new Discord channel (text, voice, category, etc.) within a guild. Requires MANAGE_CHANNELS permission.
- Create guild emoji — Creates a new custom emoji in a specified Discord guild, requiring CREATE_EXPRESSIONS permission and adherence to guild emoji limits.
- Create guild from template — Creates a new Discord guild by applying channels, roles, and settings from a specified guild template code.
- Create role with guild id — Creates a new role in a Discord guild with customizable name, permissions, color, hoist, mentionability, and icon. Requires MANAGE_ROLES permission. The icon and unicode_emoji fields are mutually exclusive.
- Create guild scheduled event — Creates a new scheduled event in a Discord guild. Events can be hosted in stage channels, voice channels, or external locations. STAGE_INSTANCE/VOICE require channel_id, while EXTERNAL requires entity_metadata with a location and scheduled_end_time.
- Create guild sticker — Uploads a PNG, APNG, GIF, or Lottie JSON file (max 512KB) as a new custom sticker to the specified Discord guild; requires Manage Expressions permission.
- Create guild template — Creates a template of an existing Discord guild's structure (settings, roles, channels) but not its content (messages, members).
- Post interaction callback — Sends a response to a Discord interaction (e.g., slash command, component). Ensure response type is context-appropriate and initial reply is within 3 seconds.
- Send Message To Channel — Sends a message to a Discord channel. Supports text content, embeds, stickers, components, and replies. Requires SEND_MESSAGES permission and at least one of content, embeds, sticker_ids, or components.
- Create stage instance — Creates a new Stage instance in a Stage channel for hosting live audio events. Requires MANAGE_CHANNELS, MUTE_MEMBERS, and MOVE_MEMBERS permissions. A Stage channel can only have one active instance at a time.
- Create new thread in channel — Creates a new thread in a text, announcement, forum, or media channel.
- Create thread from message — Creates a new thread from a specific message in a Discord channel, requiring CREATE_PUBLIC_THREADS permission.
- Create channel webhook — Creates a new webhook in a specified Discord channel, requiring MANAGE_WEBHOOKS permission.
- Crosspost Message — Crossposts a message from an announcement channel to all channels following it. The message must not have been previously crossposted and must not be a system message.
- Delete All Reactions — Removes all reactions from a message. Requires MANAGE_MESSAGES permission. This removes reactions from all users, not just the bot.
- Delete All Reactions By Emoji — Removes all reactions for a specific emoji from a message. Requires MANAGE_MESSAGES permission. Removes reactions from all users, not just the bot.
…and 20 more Discord Bot actions available in the workspace.
Give an agent access to Discord Bot
An agent you create can use Discord Bot on your behalf and keep working while you do something else. Every action an agent takes goes through an approval gate first, so nothing touches your Discord Bot account without you agreeing to it.
Other connectors
Frequently asked questions
How do I connect Discord Bot to Xenition?
Open the connectors directory in Xenition, find Discord Bot, and sign in when the authorisation window opens. The connection is managed for you — there is no API key to create, paste or rotate.
What can Xenition do with Discord Bot?
Xenition can run 50 different Discord Bot actions, including Add recipient to group channel, Add guild member, Assign role to guild member. You ask in plain language and the right one is called for you.
Can an agent use Discord Bot on my behalf?
Yes. Agents can use Discord Bot while you do something else, and every action passes through an approval gate before it runs.
Is there a free plan?
Yes. Xenition starts free with 25,000 credits a month and no credit card, and all connectors are available on every plan.