Skip to content
Discussion options

You must be logged in to vote

disable_category only disables commands which currently exist. It's basically just a wrapper around disable_command.
For now you will need to call disable_category any time a new CommandSet is registered. I'll eventually update it to be more dynamic.

These functions predate the CommandSet stuff so they were written in a way which made sense at the time.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@Sripadvallabh
Comment options

@kmvanbrunt
Comment options

Answer selected by Sripadvallabh
@Sripadvallabh
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants