#/new is not working in discord

1 messages Β· Page 1 of 1 (latest)

dusk gale
#

I get this error message "You are not authorized to use this command."

steep ravenBOT
#

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

jagged pikeBOT
#

That message is almost always OpenClaw auth, not β€œ/new is broken”.

On Discord, native slash commands can still show up for everyone, but OpenClaw will refuse to execute them unless your Discord user is allowed by config. Docs: https://docs.openclaw.ai/channels/discord#native-commands-and-command-auth and https://docs.openclaw.ai/tools/slash-commands

What to check (in openclaw.json)

  1. If you have commands.allowFrom set, that becomes the only allowlist for /new (and other directives). Add yourself there, e.g.
{
commands: {
allowFrom: {
discord: ["user:204482022150897665"]
}
}
}
  1. Otherwise, /new authorization follows your Discord guild/channel allowlist: