DocsIntegrationsDiscord

Discord

Tool set: discordDefault: DisabledRequires: Discord Bot Token

Connect your agent to Discord to send messages, read channels, manage threads, and add reactions. Perfect for community updates, automated notifications, and bot-powered workflows inside your Discord server.

Setup

1. Go to discord.com/developers/applications and click New Application.

2. In your new app, go to Bot in the left sidebar. Click Reset Token and copy the token.

3. On the same Bot page, enable Message Content Intent so the bot can read message content.

4. Go to OAuth2 → URL Generator. Check the bot scope, then check these permissions:

Send Messages
Read Message History
View Channels
Add Reactions
Create Public Threads
Send Messages in Threads

5. Copy the generated URL, open it in your browser, and invite the bot to your server.

6. In your agent's Settings, enable Discord and paste the Bot Token.

Tools

ToolDescription
discord_list_guildsList all servers the bot is a member of
discord_list_channelsList channels in a server — use this to find channel IDs
discord_send_messageSend a message to a channel (supports Discord markdown)
discord_read_messagesRead recent messages from a channel (up to 100)
discord_add_reactionReact to a message with an emoji (Unicode or custom)
discord_create_threadCreate a thread from a message or standalone in a channel
discord_reply_in_threadSend a message inside an existing thread

Sending Messages

Discord messages support markdown formatting:

**bold**  *italic*  ~~strikethrough~~  `code`
> blockquote
```code block```
- bullet list

Use discord_list_guilds first to find your server ID, then discord_list_channels to find a channel ID before sending.

Events

Discord actions emit events to execution history for monitoring. These events are not public automation triggers:

EventWhen
discord.message_sentA message or thread reply is sent
discord.thread_createdA new thread is created

Example

User: "Post the weekly summary to #general in my Discord server"

Agent: Lists guilds to find your server, lists channels to find #general's ID, then sends the message.

Integration Ideas

Combine with Automations for event-driven Discord notifications (e.g., "when a task is completed → post to #updates"). Use with Scheduled Actions for daily digests or announcements posted to your server.