Perms
Edit specific permissions for Yui commands.
Command | Options | Description |
---|---|---|
y!perms list | | Lists all available commands you can edit permissions for |
y!perms allow | <group/command> <type> {target} | Enable the command in the given target |
y!perms deny | <group/command> <type> {target} | Disable the command in the given target |
y!perms default | <group/command> <type> {target} | Resets the permission to the default |
y!perms clear | <group/command> <type> {target} | Clears the permissions for the given extended type |
y!perms show | <group/command> | Show set permissions for the given extended type |
y!perms warn | | Yui will react to commands that are disabled (enabled by default) |
y!perms ignore | | Yui will ignore commands that are disabled |
The following types are ordered from highest priority to lowest. User perms will override all other types and guild perms will not override any other types.
Type | Description |
---|---|
user <user> | Will use the tagged user |
role <role> | Will use the tagged role |
channel <channel> | Will use the tagged channel (defaults to current channel) |
guild | Will use the current guild (server) |
Extended types are used by
y!perms clear
and y!perms show
.Type | Description |
---|---|
command <command> | Will use the command mentioned |
group <group> | Will use the group mentioned |
Last modified 1yr ago