-
Notifications
You must be signed in to change notification settings - Fork 31
Command permissions
Sly-Little-Fox edited this page Aug 23, 2021
·
1 revision
Command permissions fall under the settings category therefore can be accessed using the command .help settings
.
Using command permissions you can set a role to have the permission to use any command which Axiol provides, for example setting the role "X" for the command "Y" will only let members having the "X" role use command "Y". Here are the commands for this:
-
setperm <plugin_name>
: Using this command will send an embed with all commands from the plugin defined, the next message which you will send will be used to set command permission, the format iscommand_name role
; here the command name is used without the prefix otherwise it will trigger the actual command, then seperated by a space you need to enter your role; whether it be the mention or ID, doing so will create the command permission where users having that role can only use that command, to cancel this proccess simply typecancel
, sending the message in the wrong format will result in bot sending a warning message, this won't cancel the entire proccess so you can always try again without having to start over, this only stops if you entercancel
. -
removeperm <command> <role>
: This simply removes a command permission of the role from a command. -
allperms
: This shows all plugin names inside which the command names which have command permission setted up followed by the roles which an use that command.