channel guides / discord
CONNECT
CONNECT
DISCORD.
Perfect for community builders. Create a bot in the Discord Developer Portal, invite it to your server, and it's live. Takes about 10 minutes.
Need OpenClaw running first? → Get the 30-minute setup guide
$ ./connect-discord.sh
Step 1 of 3
Create a Discord Bot
- 1Go to discord.com/developers/applications and click New Application
- 2Name your app, then go to the Bot section and click Add Bot
- 3Copy the Bot Token
Step 2 of 3
Invite the Bot and Connect to OpenClaw
- 1Go to OAuth2 → URL Generator, select
botscope and Send Messages permission - 2Open the generated URL and invite the bot to your server
- 3In OpenClaw click Channels → Add Channel → Discord
- 4Paste your Bot Token and click Connect
Step 3 of 3
Send a Test Message
- 1In OpenClaw go to Channels → Discord → Test
- 2Enter the Channel ID — right-click any Discord channel and click Copy ID (you may need Developer Mode on)
- 3Click Send Test Message
Message in Discord? Your bot is live. It will now respond to messages in any channel you invite it to.
// If it's not working
Missing Access error? Make sure the bot was invited with the Send Messages permission when you generated the OAuth URL.
Message Content Intent error? Enable it in the Developer Portal under Bot → Privileged Gateway Intents → Message Content Intent.
Can't find Copy ID? Go to Discord Settings → Advanced → enable Developer Mode, then right-click the channel.
Still stuck? Message us — [email protected] — happy to help.
$ cd ../