OpenClaw + Discord: Give Your Server a Resident AI Agent
Full Discord setup for OpenClaw: creating the bot application, getting the token, inviting it to your server, and the permission settings that matter.
Updated July 2026 Β· By the ClawHost team
Discord is the community channel: where Telegram gives you a private line to your agent and WhatsApp puts it in your pocket, Discord puts it in front of your whole server. Members ask it questions, it digests busy channels, and it's on duty around the clock. Setup takes about ten minutes.
Step 1: Create the bot application
- Go to the Discord Developer Portal and click New Application. Name it what your members will see.
- In the left menu, open Bot. Discord creates the bot user automatically with the application.
- Click Reset Token and copy the token shown β this is the credential OpenClaw needs. Treat it like a password; it's shown once.
Step 2: Enable the intents OpenClaw needs
Still on the Bot page, enable Message Content Intent (and Server Members Intent if you want member-aware features). Without message content access, your bot can be mentioned but can't read what anyone says.
Step 3: Invite the bot to your server
- Open OAuth2 β URL Generator.
- Tick the
botscope, then the permissions it needs: View Channels, Send Messages, Read Message History, Embed Links, Attach Files. - Open the generated URL, pick your server, authorize. The bot appears in your member list β offline until the next step.
Step 4: Connect the token to OpenClaw
On ClawHost: dashboard β Channels β Discord, paste the token, save β the bot comes online in seconds. Mention it in a channel or DM it, and you're talking to your agent.
Settings worth thinking about
- Where it listens. A bot that answers every message in every channel is noise (and token spend β see costs). Most servers scope the agent to a dedicated #ask-the-agent channel or mention-only.
- Who can use it. Public server? Remember every member message the agent answers runs on your model account. Role-restricting access keeps the bill yours to control.
- Give it a job. The best community agents have a defined role β support FAQ, daily channel digest, onboarding helper β rather than "general chatbot." Pair with a couple of skills that match the job.
One agent, many channels
Your Discord bot shares memory with the same agent's Telegram and WhatsApp presence β ask it something privately that came up in the server, and it knows the context. Discord is available on every ClawHost plan.
Skip the Server Admin Entirely
ClawHost runs OpenClaw on a dedicated server for you β live in about 60 seconds, from $12/month. Bring your own API key or sign in with ChatGPT.
Deploy Your AI Agent