Why Discord

If your team or community already lives in Discord, putting OpenClaw there means nobody has to install anything or learn a new surface. The agent becomes another member of the server — one that can answer questions, run scheduled posts, and summarize a channel on demand. For a server owner, that's more useful than a Telegram bot for a single person.

Developer portal setup

Discord bots are created in the Developer Portal, not in the Discord app:

  1. Go to the Discord Developer Portal and create a new application.
  2. Under the Bot tab, create the bot and copy its token. Like any bot token, treat it as a password.
  3. Generate an invite link (OAuth2 → URL Generator) with the bot scope, then invite it to your server.

The permission scopes you pick here matter. A bot that only needs to read and send messages shouldn't get administrator. Grant the minimum that your use case needs, then revisit it if a feature complains.

Point OpenClaw at it

Add Discord as a channel in OpenClaw's config, then restart:

openclaw config set channels.discord.botToken "YOUR_BOT_TOKEN"
openclaw config set channels.discord.enabled true

Exact key names drift between releases, so check the current channel docs if channels.discord errors. After restart, mention the bot in a channel and confirm it replies.

Keeping it safe

A Discord bot in a public server is a bigger target than a private Telegram bot, because strangers can talk to it. Two rules I treat as non-negotiable: