Discord
- How to create a Discord bot and connect it to your server
- What the setup flow looks like, including the billing acknowledgement
- What message types, options, and moderation actions are supported
The Discord channel connects a Discord bot to one of your Discord servers. AutoTalk hosts the connection: messages from your server's text channels arrive in your Inbox, and replies are posted back by the bot.
When to use this channel
- Your community lives on a Discord server
- You want employees or AI agents to answer or moderate Discord chat from AutoTalk
- You want Discord conversations alongside your other messaging channels
Prerequisites
Before setting up this channel, you need:
- A Discord account and a server you manage
- A Discord bot created in the Discord Developer Portal, added to that server
- The bot's token
Step 1: Create a Discord bot
- Go to the Discord Developer Portal at discord.com/developers and create an application with a bot.
- In the bot settings, enable the Message Content Intent. Without it, the bot cannot read the text of chat messages.
- Copy the bot token and keep it safe.
- Invite the bot to your server using the application's invite (OAuth2) URL, with permission to read and send messages.
Step 2: Find your Server ID
In Discord, enable Developer Mode, then right-click the server name and copy the ID. It is a long number made of digits only (for example 123456789012345678).
Step 3: Connect the bot to AutoTalk
- In the sidebar, go to Integrations > Channels and click the + button (tooltip "Add channel") to open the New channel page.
- In the channel picker, select the Discord tile (in the Bots & communities group).
- Paste the Bot token. It is stored encrypted in your company variables.
- Enter the Server ID (Guild ID).
- Review the Connection cost panel and tick the acknowledgement under Acknowledgements confirming the hosted-connection cost.
- Click Create & enable channel.
The channel is created and enabled in one step — metering starts right after. During enablement AutoTalk verifies the token and checks that the bot is a member of your server; if it isn't, enabling fails with a message asking you to invite the bot first.
Billing
Discord is a hosted connection: it is billed per minute while the channel is online, 24/7 (the channel_minutes_discord meter). A disabled channel costs nothing — use Disable on the channel's edit page to stop the charge. See Usage Rates for details.
Supported message types
Incoming from your server:
- Text messages and attachments (images, audio, video, documents)
- Message edits and deletions, reflected in the conversation
- Emoji reactions
- Button clicks on option messages
Outgoing from AutoTalk:
- Text messages — long messages are split automatically
- Media files (images, audio, video, documents)
- Interactive options, rendered as Discord buttons (larger lists fall back to a numbered text list)
- Edits and deletions of messages sent by your team or agents
Channel options
On the channel's edit page you can adjust:
- Channel Filter — listen only on specific text channel IDs; leave it empty to listen on all channels.
- Use shared conversation — on by default: each Discord text channel appears as a single conversation, like a group chat. Turn it off to give each user their own conversation.
- Respond only to mentions — only respond when the bot is explicitly mentioned in chat.
Moderation actions
Discord channels expose a broad set of moderation and channel actions that can be run from the channel page or called from workflows and agents. Get Discord Member, Ban User, Kick User, Timeout User, and Delete Message are just a few examples — the full set is much larger and is not limited to these. Grouped by area, Discord channels support:
- Member management — ban, kick, timeout, unban, roles, nicknames, member search, and voice mute/disconnect
- Message operations — delete, pin, react, start thread, crosspost, and purge messages
- Channel controls — audit log, bans list, bulk-ban, invites, slowmode, lock, and list pins
The complete list appears in the action picker when you build a workflow or agent. See the Discord Spam Moderator example for a complete moderation agent built on them.
Important considerations
- Metering starts as soon as the channel is created — disable it when you don't need it.
- The bot must stay in your server and the Message Content Intent must remain enabled; if the bot is removed or the token is revoked, messages stop flowing until you fix the bot and re-enable the channel.
- One channel connects one server. To connect a second server, create another Discord channel.
Use Channel Filter to keep the bot scoped to a support or moderation channel instead of your whole server.
Next steps
- Inbox & Messaging — Manage incoming Discord conversations
- AI Agents — Automate Discord replies with an agent
- IRC — Connect IRC networks or Twitch chat