#how do i use discord in openclaw 2026.4.25? I'm getting[default] channel exited: Failed to resolve D
1 messages Β· Page 1 of 1 (latest)
That error usually means OpenClaw has a Discord token configured, but Discord wonβt resolve the app from it β most often the wrong value was pasted, e.g. Application ID / Client Secret / Public Key instead of the Bot Token.
For Discord in 2026.4.25:
-
Discord Developer Portal β your app β Bot β Reset Token / copy token
- Donβt use Application ID.
- Donβt paste the token here.
-
Configure OpenClaw:
export DISCORD_BOT_TOKEN="YOUR_BOT_TOKEN"
openclaw config set channels.discord.token \
--ref-provider default \
--ref-source env \
--ref-id DISCORD_BOT_TOKEN
openclaw config set channels.discord.enabled true --strict-json
openclaw gateway restart
- Check it:
openclaw channels status --probe
openclaw logs --follow
Also make sure in Discord Developer Portal β Bot β Privileged Gateway Intents:
- Message Content Intent enabled
- Server Members Intent recommended