Allow devs to disable their application commands #7997
Replies: 3 comments 3 replies
-
|
Related: |
Beta Was this translation helpful? Give feedback.
3 replies
-
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Duplicate of #4795 (#7997 (comment)) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I’d like to suggest a built-in way for developers to disable specific application commands without deleting them. The current situation forces devs to soft delete, hide, or return errors. This isn’t a good UX and it becomes confusing for users.
Behaviour
Add a per command toggle that marks the command as disabled. Then either
Keep commands registered so re enabling is instant
Applies to both global and guild commands
Use cases
Payload example
Here’s an example of how this could work using the existing Application Command object. This mirrors the current API layout and adds a proposed field called disabled.
{ "name": "ping", "type": 1, // CHAT_INPUT "description": "Replies with pong", "disabled": true // New field }If disabled is set to true, the client can either hide the command or show it grayed out with a tooltip. There could even expose both options if desired.
This keeps the command registered, avoids the delete recreate cycle, and finally gives developers proper control over their own commands without relying on admins and the Integrations tab.
Related discussion
#4914 may be relevant, but not really the same thing.
This description was mostly written by ChatGPT. Apologies to anyone allergic to AI.
Beta Was this translation helpful? Give feedback.
All reactions