mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 16:01:01 +00:00
fix(discord): skip disabled native command cleanup
This commit is contained in:
@@ -622,7 +622,7 @@ Use `bindings[].match.roles` to route Discord guild members to different agents
|
||||
|
||||
- `commands.native` defaults to `"auto"` and is enabled for Discord.
|
||||
- Per-channel override: `channels.discord.commands.native`.
|
||||
- `commands.native=false` explicitly clears previously registered Discord native commands.
|
||||
- `commands.native=false` skips Discord slash-command registration and cleanup during startup. Previously registered commands may remain visible in Discord until you remove them from the Discord app.
|
||||
- Native command auth uses the same Discord allowlists/policies as normal message handling.
|
||||
- Commands may still be visible in Discord UI for users who are not authorized; execution still enforces OpenClaw auth and returns "not authorized".
|
||||
|
||||
|
||||
Reference in New Issue
Block a user