Prerequisites
- OpenClaw installed and daemon running
- A Discord account with "Manage Server" permissions
- A Discord Application & Bot token from the Discord Developer Portal
Step 1 — Create a Discord Application
- Go to discord.com/developers/applications
- Click New Application and give it a name
- Go to Bot → Add Bot
- Under Token, click Reset Token and copy it
- Enable Message Content Intent under Privileged Gateway Intents
Step 2 — Invite the Bot to Your Server
- In the Developer Portal go to OAuth2 → URL Generator
- Select scopes:
bot - Select permissions:
Send Messages,Read Message History,View Channels - Copy the generated URL and open it in your browser to invite the bot
Step 3 — Configure OpenClaw
openclaw channels add discord
Paste your bot token when prompted. Then verify:
openclaw channels list
Step 4 — Test It
In any channel the bot has access to, mention it or send a DM. You should get a response from OpenClaw within seconds.
Discord Troubleshooting
Bot not showing up? Work through common Discord issues.