50-Tasks/clawdbot/CLAWDBOT-TASK-002-discord-setup.md
Set up Discord channel for Clawdbot
Updated Jan 30, 2026, 11:17 PM
id: CLAWDBOT-TASK-002
title: Set up Discord channel for Clawdbot
status: pending
priority: normal
assignee: paul
project: clawdbot
created: "2026-01-30T00:00:00.000Z"
due: "2026-01-31T00:00:00.000Z"
tags: ["clawdbot","discord","setup"]
Steps
1. Create Discord Bot
- Go to Discord Developer Portal β New Application
- Bot β Add Bot β Copy the Bot Token
- Enable Privileged Gateway Intents:
- β Message Content Intent (required)
- β Server Members Intent (recommended)
2. Generate Invite URL
OAuth2 β URL Generator:
- Scopes:
bot+applications.commands - Permissions: View Channels, Send Messages, Read Message History, Embed Links, Attach Files, Add Reactions
Copy the URL, open it, invite bot to your server.
3. Configure Clawdbot
Run:
clawdbot configure --section discord
Or add to ~/.clawdbot/clawdbot.json:
{
"channels": {
"discord": {
"enabled": true,
"token": "YOUR_BOT_TOKEN",
"guilds": {
"YOUR_GUILD_ID": {
"requireMention": true,
"channels": {
"channel-name": { "allow": true }
}
}
}
}
}
}
4. Restart Gateway
clawdbot gateway restart
Notes
- Send Charles the bot token once created and he'll add the config
- Get guild ID and channel ID by enabling Developer Mode in Discord (Settings β Advanced β Developer Mode), then right-click server/channel β Copy ID