Skip to content
CLAWDBOOK
Popular searches
Private, static site search Open
ChannelsGuides
Browse the OpenClaw handbook

Connect OpenClaw to Discord

Connect a Discord bot to OpenClaw with scoped permissions, controlled server access, and a live channel probe.

Last verified
August 9, 2026
Reviewed against
OpenClaw 2026.7.1-2 documentation
Difficulty
Intermediate
Time
~15 minutes
Verified against the official documentation listed below

Create a dedicated Discord application and bot for OpenClaw. Give it only the scopes and server permissions required for the channels you intend to use.

Create and invite the bot

Use the Discord Developer Portal to create the application, enable the bot, copy its token, and generate an invite for the target server. Keep the token out of chat logs and version control.

Initial Discord policy

Limit the bot to one test server and channel. Require an explicit mention in shared channels until message flow and sender controls are proven. This prevents the agent from reacting to every conversation by default.

Verify the connection

openclaw gateway status
openclaw channels status --probe
openclaw logs --follow

Expected result

Discord transport is connected, the test channel is permitted, and a mention from an allowed user produces one reply.

If the bot is online but silent, look for mention-gating, allowlist, pairing, or missing-scope messages in the logs. Debug policy before rotating a token that already authenticates successfully.

Source notes

Technical facts on this page were checked against primary sources.

Related guides