Openclaw Discord

Published on

•

Openclaw Discord
Do not index
OpenClaw Discord setup comes down to three things: a bot created in the Discord Developer Portal, that bot's token pasted into the OpenClaw channel config, and a gateway process that stays running. For the staying-running part we recommend Agent 37, which hosts OpenClaw in an isolated container from $3.99 per month and gives you a browser terminal for editing config and reading gateway logs. Agent 37 is not the OpenClaw Discord plugin and it is not the official OpenClaw community server; it is the always-on machine your Discord agent lives on after your laptop goes to sleep.
notion image
Key takeaways:
  • Message Content is a privileged intent: if it is off in the Developer Portal, the bot connects but every message arrives empty, which looks exactly like OpenClaw ignoring you.
  • Three config values do most of the work: the bot token, a DM or guild policy, and an allowlist of user or channel IDs that are permitted to trigger the agent.
  • "Plugin not available" and "channels unresolved" are install and ID problems, not Discord outages: check the channel status output and compare IDs before touching anything else.
  • Discord beats Telegram for multi-agent work because each agent can be bound to its own channel; Telegram is simpler for a single assistant on a phone.
  • Agent 37 hosts the agent from $3.99 per month, with API keys that go directly to Anthropic or OpenAI and a live Linux desktop in the browser.

What does "OpenClaw Discord" actually refer to?

OpenClaw Discord refers to three things that search results blur together: the Discord channel integration inside OpenClaw, the official OpenClaw community server where users get help, and the hosting question of where the bot runs so it stays online. This guide covers all three, starting with the integration, because that is what most people are trying to get working.
The integration is a channel inside OpenClaw. The gateway process logs in as a Discord bot, listens for DMs and channel messages, passes them to the agent, and posts the reply back. It can also add reactions, open threads, upload files, and, if you grant the permissions, create channels and manage roles.
The community server is where you go when something breaks. The invite is linked from the official OpenClaw site and the GitHub README. Avoid invites pasted into random Reddit threads, since a fake server is an easy way to harvest bot tokens from people who paste their config while asking for help.
The hosting question is the one most guides skip. A Discord bot only answers while its gateway is running, so a laptop install stops the moment the lid closes. That is the gap Agent 37 fills, and we compare the options near the end.

How do you create a Discord bot and connect it to OpenClaw step by step?

Create an application in the Discord Developer Portal, add a bot, copy its token, enable the Message Content intent, invite the bot with an OAuth2 URL, paste the token into the OpenClaw Discord config, start the gateway, and send a test message. That is seven steps, and about fifteen minutes if OpenClaw itself already runs.
  1. Open the Discord Developer Portal, click New Application, and give it the name you want users to see.
  1. Go to the Bot tab, click Reset Token, and copy the token once. Treat it like a password; anyone holding it controls the bot.
  1. On the same Bot tab, scroll to Privileged Gateway Intents and turn on Message Content. Turn on Server Members only if you plan to allowlist by role or need member lists.
  1. Open OAuth2, then URL Generator. Tick the bot and applications.commands scopes, select the permissions listed in the next section, open the generated URL, and pick the server where the bot should live.
  1. On the machine running OpenClaw, add the token to the Discord channel section of openclaw.json, or set it through the environment variable your installed version documents. On Agent 37 this happens in the browser terminal or the visual file browser.
  1. Start or restart the gateway and run the channel status command. You want the Discord channel listed as connected, with your guild resolved.
  1. Mention the bot in a channel it can see, or DM it. You should get the ack reaction within a second or two, then a reply once the model finishes.
If step 7 gives you nothing, do not reinstall. Jump to the troubleshooting section below, because the cause is almost always one of four known problems.
notion image

Which permissions and intents does the OpenClaw Discord bot need?

For plain chat the bot needs View Channels, Send Messages, Read Message History, Add Reactions, Embed Links, and Attach Files, plus the Message Content privileged intent toggled on. Add Manage Channels and Manage Roles only when you want the agent to create channels or assign roles, because those permissions apply across the whole server.
Intents and permissions are different controls. Intents decide which events Discord streams to your gateway, and Message Content is gated because it exposes the text of every message in every channel the bot can see. Discord's developer documentation explains that bots in 100 or more servers must be verified and approved before the intent is granted; a personal bot in one or two servers sits well below that line.
Permissions decide what the bot can do once it is in the server, and they stack with channel overrides. A bot can have Send Messages at the server level and still be blocked in a private channel until its role is added there. That is the single most common reason an OpenClaw agent answers in #general but not in #ops.
Follow the principle of least privilege, which NIST defines as giving a process only the access it needs for its task. Start with the six chat permissions, confirm replies work, then add Manage Channels or Manage Roles when a specific task requires them.
One warning on server management tasks. Creating channels, renaming them, and assigning roles run through OpenClaw's Discord tool actions, and those action names and their config toggles have changed between releases. If channel creation worked last month and stopped after an update, read the release notes for the channel plugin before changing Discord permissions, and re-check that the action is still enabled in your config.

How does the OpenClaw Discord approval and ack reaction flow work?

The ack reaction is an emoji OpenClaw adds to your message the moment the gateway accepts it, so you know it was heard before the model finishes. Approvals are a separate gate: when the agent wants to run a shell command or a destructive action, OpenClaw can pause and wait for an allowlisted user to confirm.
Who can trigger the agent is controlled by policy settings in the Discord channel config. DMs can be restricted to a pairing flow, to an explicit allowlist of user IDs, or opened to anyone; servers can require an @mention, restrict to listed channels, and restrict to listed users. The decision rule we use: never run an open policy on a server you do not fully control, and never allowlist a role that other admins can hand out.
Approvals matter when the agent is allowed to run commands on the host or act on your accounts. OpenClaw can hold the action and post a prompt, and only an approved user can clear it. Keep that approval conversation in a DM or a private channel, because an approval prompt in a public channel means any member who can react or type might clear it.
Treat the approval gate as one layer, not the whole defence. Our write-up on layered guardrails for autonomous coding agents covers constraint files and hooks that hold even when the model ignores its instructions, and the same pattern applies to a Discord-triggered OpenClaw agent.

Why does OpenClaw say the Discord plugin is not available or channels are unresolved?

Plugin not available means the Discord channel extension is not installed or enabled in your OpenClaw build, usually after an update or a fresh install that skipped optional channels. Channels unresolved means the gateway cannot map the guild or channel IDs in your config to channels the bot can see. Both take minutes to fix.

What fixes "plugin not available"?

Check that the Discord channel extension is actually present in the running build: list installed channels or plugins from the CLI, and compare the version against the one you installed. A global upgrade that pulled a new core without the matching channel package is the usual cause. Reinstall or enable the Discord channel, restart the gateway, and confirm it appears in the status output before testing again.

What fixes "channels unresolved"?

Turn on Developer Mode in Discord's advanced settings, right-click the server and the channel, and copy the IDs fresh. Then verify three things: the bot has been invited to that specific server, the bot's role can view that specific channel, and the IDs in your config are numeric strings with no stray characters. Private channels and forum channels are the usual culprits.

Why does OpenClaw time out or stop responding in Discord?

Separate the two kinds of timeout. If the ack reaction appears and no reply ever comes, the gateway is fine and the model call failed, so check your provider key, rate limits, and the gateway log for the error. If there is no ack at all, the gateway is down or disconnected, which on a laptop usually means it slept. Two gateways running the same bot token will also fight over the connection and drop messages. Our guide to AI agent error recovery explains why a timeout should be treated as an unknown and checked against logs before you retry.

Why is the ack reaction missing?

Four checks: the bot has the Add Reactions permission in that channel, the ack reaction option is set in your config, you actually mentioned the bot if the channel requires a mention, and your user ID is on the allowlist. A message that is silently ignored with no reaction is almost always an allowlist miss rather than a bug.
notion image

Should you use OpenClaw with Discord or Telegram?

Pick Discord when you want several agents in dedicated channels, threads for long tasks, and a shared space a small team can watch. Pick Telegram when one person wants one assistant on a phone with the least setup. Discord requires the Developer Portal and intents; Telegram needs a single token from BotFather.
Factor
Discord
Telegram
What tips the decision
Setup
Developer Portal, intents, OAuth2 invite
One token from BotFather
Telegram if you want a bot in five minutes
Multi-agent
Bind each agent to its own channel
Separate bots or one shared chat
Discord for orchestrator plus workers
Audience control
Server roles, channel overrides, allowlists
User ID allowlist
Discord for small teams, Telegram for one person
Files and voice
Attachments, embeds, threads
Attachments, voice notes
Discord for long outputs, Telegram for phone-first use
Where it runs
Needs a persistent gateway
Same
Neither works from a sleeping laptop
Latency is dominated by the model, not the chat platform. Both channels are a gateway-to-provider round trip, so a slow answer in Discord will be about as slow in Telegram unless the gateway itself is struggling.

How do you run multiple OpenClaw agents in different Discord channels?

Define each agent with its own workspace and system prompt in the OpenClaw config, then add bindings that route a specific guild channel to a specific agent ID. You end up with an orchestrator in one channel and workers in others, each with separate memory, while one gateway and one bot token serve all of them.
The common layout is one #orchestrator channel where you post goals, plus worker channels such as #research, #ops, and #writing, each bound to an agent with a narrow system prompt and its own workspace folder. The orchestrator breaks the goal into pieces and hands them off; you watch each worker channel as a live log.
You can also give each agent its own bot application so they show different names and avatars. That costs one Developer Portal setup per agent and one more token to protect, so most people start with one bot and channel bindings. Our article on how to run AI agents in parallel covers how to slice a job so workers do not collide.
Watch memory. Each agent keeps its own context, so on a small instance keep to two or three before upgrading. Agent 37's task board can hand each worker its queue and record outputs for review, which keeps the orchestrator channel less noisy.

Where should an OpenClaw Discord agent run 24/7?

Anywhere that stays powered and never sleeps: a VPS, an AWS instance, a Mac mini in a closet, or a managed host. We recommend Agent 37 because it ships OpenClaw preinstalled in an isolated container from $3.99 per month, managed through a browser terminal, a visual file browser, and a live Linux desktop.
A self-managed VPS is cheap and gives full control, but you own the runtime updates, the security patches, and the 2am restart when the gateway dies. AWS offers a free tier for new accounts, which is why the top ranking guide for this keyword is an AWS walkthrough; confirm current terms on aws.amazon.com and budget your own time for setup and maintenance. A Mac mini works until your home power or ISP has a bad day.
Agent 37 takes a different position: one click deploys the full OpenClaw stack in an isolated container, and your API keys go directly to Anthropic or OpenAI without passing through Agent 37. Management runs in the browser through a full TTY terminal, a visual file browser, and a live Linux desktop, so you can fix a Discord config from a phone.
The operational burden is not a small detail. Gartner predicts that over 40 percent of agentic AI projects will be canceled by the end of 2027, citing escalating costs and unclear business value. Spending evenings keeping a Discord gateway alive is how a useful automation turns into one of those cancellations.

How did we compare these hosting options?

We compared the four common ways to keep an OpenClaw Discord bot online on three points: what you pay to start, who handles updates and security patches, and how you reach the machine when the gateway misbehaves at midnight. Prices for Agent 37 come from its published plans; for AWS and VPS providers, confirm current rates on their sites.

How do you get started with Agent 37?

Deploy a managed OpenClaw instance on Agent 37 from $3.99 per month, open the browser terminal, paste your Discord bot token into the config, and start the gateway. Your API keys go directly to Anthropic or OpenAI, and the instance keeps answering Discord messages after you close the tab.
Deploy your OpenClaw instance on Agent 37 and connect your Discord bot today.

What do people also ask?

How do I create a Discord bot and connect it to OpenClaw step by step?
In the Discord Developer Portal create a New Application, open the Bot tab, reset and copy the token, enable the Message Content intent, then generate an OAuth2 invite with the bot scope and chat permissions and add it to your server. Paste the token into the Discord section of your OpenClaw config, start the gateway, check channel status, and mention the bot in a channel.
Why does OpenClaw say the Discord plugin is not available?
The Discord channel extension is not installed or enabled in the OpenClaw build that is running, usually after a core upgrade that did not bring the matching channel package. List installed channels from the CLI, reinstall or enable Discord, restart the gateway, and confirm it shows as connected in the status output.
Why does OpenClaw time out or stop responding in Discord?
If the ack reaction appears but no reply arrives, the model call failed, so check the provider key, rate limits, and gateway log. If there is no ack at all, the gateway is disconnected, most often because the laptop running it went to sleep or a second gateway is using the same bot token. Running the gateway on an always-on host such as Agent 37 removes the sleep problem.
Where is the official OpenClaw Discord community server?
The invite is linked from the official OpenClaw website and the project's GitHub README. Use that link rather than invites pasted into Reddit threads, and never paste a config containing your bot token or API keys when asking for help.
Is Agent 37 the same as the OpenClaw Discord plugin?
No. Agent 37 is a managed hosting platform that runs OpenClaw in an isolated container from $3.99 per month with a browser terminal, file browser, and live Linux desktop. The Discord plugin is part of OpenClaw itself; Agent 37 is the always-on machine it runs on.