🎮
Discord Integration
Add OpenClaw to your Discord server as an AI assistant bot.
TL;DR
- ✓ Create a bot at Discord Developer Portal
- ✓ Add bot token to openclaw.json
- ✓ Invite bot to your server
Setup Steps
Step 1: Create a Discord Bot
- Go to Discord Developer Portal
- Create a new application
- Go to Bot section and create a bot
- Copy the bot token
Step 2: Configure openclaw.json
{
"channels": {
"discord": {
"enabled": true,
"botToken": "YOUR_BOT_TOKEN"
}
}
} Step 3: Invite the Bot
- Go to OAuth2 → URL Generator in Developer Portal
- Select "bot" scope
- Select required permissions (Send Messages, Read Message History)
- Copy the generated URL and open it
- Select your server and authorize
Step 4: Start OpenClaw
openclaw start Your Discord bot is now online! Mention the bot or use a prefix to chat.