#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)

thin wasp
#

how do i use discord in openclaw 2026.4.25? I'm getting[default] channel exited: Failed to resolve Discord application id

kind lynxBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> βœ… Mark Solution

shadow glenBOT
#

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:

  1. Discord Developer Portal β†’ your app β†’ Bot β†’ Reset Token / copy token

    • Don’t use Application ID.
    • Don’t paste the token here.
  2. 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
  1. 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