#How do I enable Discord channel/role management tools in OpenClaw?
1 messages · Page 1 of 1 (latest)
First thing I’d check: what version are you on? Please run:
openclaw --version
openclaw status --all
For Discord channel/role management specifically, there are two common causes:
- The model is writing “tool calls” as text, not emitting native tool calls. In Discord guild channels, visible replies usually require the model to call
message(action=send). If logs show assistant text but notoolstream events, switch to a stronger tool-calling model or restore legacy visible replies with:
{
messages: {
groupChat: {
visibleReplies: "automatic"
}
}
}
- The Discord action gate or Discord bot permissions block execution. Discord action gates live under
channels.discord.actions.*.channelsis enabled by default, butrolesis disabled by default. For role management you need to explicitly enable it, and the Discord bot itself also needs the matching server permissions / role hierarchy.
Docs: https://docs.openclaw.ai/channels/discord
If you paste the relevant log lines from openclaw logs --follow around one attempted tool call, we can tell whether it’s a model-native tool-call issue, an OpenClaw action-gate issue, or Discord rejecting the bot permissions.
what to do if my auth token aint working
Which auth token do you mean — Discord bot token, Gateway token, or a model API key?
Quick safe checklist either way:
- Don’t paste the token here — tokens are secrets.
- Check your version first:
openclaw --version
openclaw status --all
- If it’s the Discord bot token, verify it’s set where the Gateway can actually see it:
openclaw config get channels.discord
openclaw gateway restart
openclaw logs --follow
For service installs, env vars from your shell often don’t reach the service. Put the token in ~/.openclaw/.env or configure it as a SecretRef, then restart the gateway.
- If it’s the Gateway token, regenerate/rotate it and update the client/UI with the new value. Gateway token issues usually show up as auth/connect failures in
openclaw status --all.
Docs: https://docs.openclaw.ai/channels/discord and https://docs.openclaw.ai/help/faq
Paste the redacted error line from openclaw logs --follow — especially the part after 401, Unauthorized, invalid token, or auth — and I can point to the exact fix.
the token to enter the terminal from the browser
Got it — that’s the Gateway auth token for the browser Control UI / terminal.
On the machine running OpenClaw, check/generate it like this:
openclaw doctor --generate-gateway-token
openclaw config get gateway.auth.token
Then open the dashboard and paste that token into Control → Overview → Gateway Access → Gateway Token, then Connect.
If it still fails:
openclaw gateway restart
openclaw status --all