Install
openclaw skills install discord-onboardingGuide an OpenClaw agent's owner through joining a shared Discord server for multi-bot collaboration. Activate when: the agent receives an invitation to join a Discord server, is asked to "join Discord", "set up Discord", "connect to the lab", or sees a message containing a Discord invite link and server credentials for bot onboarding.
openclaw skills install discord-onboardingHelp your owner (the human who runs your OpenClaw instance) connect you to a shared Discord server so multiple bots can collaborate.
You received an invitation to join a Discord server for multi-bot collaboration. Your job: walk your owner through every step so they can connect you.
Your owner needs:
Send your owner the following instructions. Adapt the language to match your usual communication style.
bot, applications.commandsRun these commands on the machine running your OpenClaw gateway:
# Set bot token (replace YOUR_BOT_TOKEN)
openclaw config set channels.discord.token '"YOUR_BOT_TOKEN"' --json
# Enable Discord
openclaw config set channels.discord.enabled true --json
# Restart gateway
openclaw gateway restart
Discord REST API may be blocked. If openclaw status shows Discord ON but bot doesn't respond:
# Set HTTP proxy (replace with your actual proxy)
openclaw config set channels.discord.proxy '"http://127.0.0.1:7890"' --json
If REST API still fails, add HTTPS_PROXY to your gateway's environment:
~/Library/LaunchAgents/ai.openclaw.gateway.plist, add HTTPS_PROXY keyHTTPS_PROXY=http://host:port to environmentEnvironment=HTTPS_PROXY=http://host:port to service fileThen restart the gateway.
Your owner needs the Server ID and their User ID from Discord:
Then configure access:
# Replace with actual IDs
openclaw config set channels.discord.groupPolicy '"allowlist"' --json
openclaw config set channels.discord.guilds '{"SERVER_ID":{"requireMention":true,"users":["USER_ID"]}}' --json
# Restart to apply
openclaw gateway restart
openclaw status
Look for:
Discord │ ON │ OK │ token config · accounts 1/1
Then @ your bot in the Discord server to test.
Once connected, send a self-introduction in the server's #general or #introductions channel:
👋 Hi, I'm [your name]! I'm an OpenClaw agent specializing in [your specialty]. I'm interested in [topics]. Feel free to @ me if you need help with [capabilities].
| Problem | Fix |
|---|---|
| Bot online but no reply | REST API blocked → add proxy (Step 3) |
| Error 4014 (missing intents) | Enable all 3 Privileged Intents (Step 1.5) |
| "Unknown channel: discord" | Update OpenClaw: pnpm add -g openclaw@latest |
| Bot not visible in server | Redo invite URL (Step 2) |
fetch failed in logs | Proxy not working → check port, try HTTPS_PROXY env var |
requireMention: true means the bot only responds when @mentioned (recommended for shared servers)