Introduction
jar has a variety of commands that you can use to configure entire commands and modules. You can enable or disable commands and modules, as well as restrict them to specific roles.Disabling commands
With thedisablecommand command, you can disable a command for a specific user or channel.
This means that the command will no longer be available to use by that user or channel you specified.
To disable a command, use the disablecommand command, followed by the user or channel you’d like to disable it for & the command you’d like to disable.

Disabling commands for the whole server
You can also disable a command for the whole server by using thedisablecommand all command.
This means that the command will no longer be available to use by anyone in your server, only the server owner.

Enabling commands
With theenablecommand command, you can re-enable a command for a specific user or channel.
This means that the command will be available again to use by that user or channel you specified.
To enable a command, use the enablecommand command, followed by the user or channel you’d like to enable it for & the command you’d like to enable.

Enabling commands for the whole server
You can also enable a command for the whole server by using theenablecommand all command.
This means that the command will be available again to use by everyone in your server.
Disabling modules
With thedisablemodule command, you can disable a module for a specific channel.
This means commands that belong to the module will no longer be available to use by the channel you specified.
To disable a module, use the disablemodule command, followed by the channel you’d like to disable it for & the module you’d like to disable.

Disabling modules for the whole server
You can also disable a module for the whole server by using thedisablemodule all command.
This means that the module will no longer be available to use by anyone in your server, only the server owner.

Enabling modules
With theenablemodule command, you can re-enable a module for a specific channel.
This means that the module will be available again to use by that channel you specified.
To enable a module, use the enablemodule command, followed by the channel you’d like to enable it for & the module you’d like to enable.

Enabling modules for the whole server
You can also enable a module for the whole server by using theenablemodule all command.
This means that the module will be available again to use by everyone in your server.

Difference between restrictcommand and restrictcommand reverse
You might be wondering how the restrictcommand command differs from restrictcommand reverse.
-
The
restrictcommandcommand restricts a command to specific roles:- If users have the specified role, they can use the command.
-
The
restrictcommand reversecommand blocks a command for specific roles:- If users have the specified role, they cannot use the command.
Restricting commands
With therestrictcommand command, you can restrict a command to a specific role.
This means that only users with the specified role will be able to use the command.
Adding a restriction
To restrict a command, use therestrictcommand add command, followed by the command and role you’d like to restrict it to.

Restricting subcommands
If you want to restrict a subcommand, add an underscore (_) between the command and subcommand.
For example, to restrict the purge bots command to the Mod role, you would do the following:

Removing a restriction
To remove a restriction, use therestrictcommand remove command, followed by the command and role you’d like to remove the restriction from.

Removing a subcommand restriction
To remove a subcommand restriction, add an underscore (_) between the command and subcommand.
For example, to remove the restriction from the purge bots command, you would do the following:

Listing all restrictions
To list all the restrictions on your server, use therestrictcommand list command.
Removing all restrictions
To remove all restrictions on your server, use therestrictcommand clear command.
Reverse restricting commands
With therestrictcommand reverse command, you can block a command from being used by a specific role.
This means that if a user has the specified role, they will not be able to use the command.
Adding a reverse restriction
To reverse restrict a command, use therestrictcommand reverse add command, followed by the command and role you’d like to reverse restrict it from.

Reverse restricting subcommands
If you want to reverse restrict a subcommand, add an underscore (_) between the command and subcommand.
For example, to reverse restrict the purge bots command from the Mod role, you would do the following:

Removing a reverse restriction
To remove a reverse restriction, use therestrictcommand reverse remove command, followed by the command and role you’d like to remove the reverse restriction from.

Removing a subcommand reverse restriction
To remove a subcommand reverse restriction, add an underscore (_) between the command and subcommand.
For example, to remove the reverse restriction from the purge bots command, you would do the following:

Listing all reverse restrictions
To list all the reverse restrictions on your server, use therestrictcommand reverse list command.
Removing all reverse restrictions
To remove all reverse restrictions on your server, use therestrictcommand reverse clear command.
