Setup
1
Create a Discord Application
- Go to Discord Developer Portal
- Click New Application
- Name your application and create it
2
Create a Bot
- Go to the Bot section
- Click Add Bot
- Copy the Bot Token
3
Configure Intents
Enable these Privileged Gateway Intents:
- Message Content Intent
- Server Members Intent (optional)
4
Connect in Boty
- Go to your agent’s Channels tab
- Click Connect on the Discord card
- Paste your Bot Token
- Click Connect
5
Invite Bot to Server
- Go to OAuth2 → URL Generator
- Select scopes:
bot,applications.commands - Select permissions:
Send Messages,Read Message History - Copy the URL and open it to invite the bot
Configuration
| Setting | Description |
|---|---|
| Bot Token | Your Discord bot token |
| Reply Mode | mention (only when mentioned) or all (all messages in allowed channels) |
| Allowed Channels | Specific channels where the bot responds |
| Enabled | Toggle the integration on/off |
How It Works
Once connected and invited to a server:- Bot responds when @mentioned in channels
- Maintains conversation context per user
- Supports text messages
Usage
Permissions Required
Minimum permissions for the bot:- View Channels
- Send Messages
- Read Message History
- Embed Links (for rich responses)
Troubleshooting
Bot not responding
Bot not responding
- Ensure Message Content Intent is enabled
- Verify the bot has permissions in the channel
- Check that the integration is enabled in Boty
Invalid Token
Invalid Token
- Regenerate the token in Discord Developer Portal
- Update the token in Boty