Permission Condition

This block enables you to compare a user's permissions to run actions based off their permissions.
The bot must have at least the Manage Roles permission to be able to check server permissions.
Run Multiple Actions
This option allows you to set the condition to run multiple actions at the same time. This means if multiple conditions are met, then each true condition will be run simultaneously. When disabled, only the first met condition will be executed.

User Target
This field is where you choose one of 3 user targets you would like the condition to check the permissions of.

This type of target will check the permissions of the user who triggered the command / event or clicked a button / menu option.
The user option target will check the permissions of a user selected from the command's user option.
User Option
This field is where you will input the user option variable. Keep in mind this field only accepts user options, so you must have one in your command for this field to work.


If the user ID option is selected then the condition will check the permissions of the user with that ID.
User ID
This field is where you input a plain user ID or a variable that contains a user ID. Make sure there are no extra symbols or spaces when inputting this.

Permissions
Click the "+" to attach one or more permissions to the condition the bot is comparing. Visit this link to learn more about permissions.

Condition Type
The condition type field is where you can select what type of comparison you wish for the condition to check the permissions of.

Click the add condition button once you have filled out all the fields above to add one or more comparisons to the condition.

You will be able to individually edit each permission by selecting on the permission block of the condition once added.

Here is an example layout of the condition:

Last updated
Was this helpful?
