Skip to content

Conversation

@karlsbjorn
Copy link
Contributor

@karlsbjorn karlsbjorn commented Mar 30, 2025

Description of the changes

Adds slash disableall which will disable all app commands that are not force-enabled by the cog they come from
Closes #6474

Have the changes in this PR been tested?

Yes

@github-actions github-actions bot added the Category: Core - Bot Commands This is related to core commands (Core and CogManagerUI cog classes). label Mar 30, 2025
@japandotorg
Copy link
Contributor

japandotorg commented Mar 30, 2025

just an imo, i'd personally prefer an ux with either of these more instead-

  1. running [p]slash disable without any command_name arguments (or an all argument?) disables all slash commands while respecting the command_type argument (i.e., it only disables either slash, message or user [and/or maybe an all literal too?) application commands while sending a "(y/n) warning" stating about this, something like "using this command will disable all slash/message/user application commands, do you wish to continue? (y/n) (and/or with ConfirmView buttons)"
  2. a subcommand for [p]slash disable ([p]slash disable all <command_type>), prolly similar to 1. while sending a warning message (with buttons? ConfirmView) and for slash, message or user (and/or maybe an all argument literal for the command_type as well)

@Flame442 Flame442 added the Type: Enhancement Something meant to enhance existing Red features. label Jun 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Category: Core - Bot Commands This is related to core commands (Core and CogManagerUI cog classes). Type: Enhancement Something meant to enhance existing Red features.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a slash subcommand to disable all commands

3 participants