Role Condition
Last updated
Was this helpful?
Last updated
Was this helpful?
This condition checks what role a specific user has and compares whether they have it or not.
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.
This field is where you choose one of 3 user targets you would like the condition to check the roles of.
Click the Add Condition block to add the compared role to your builder.
This option, when enabled, allows you to run the actions below the selected block when the user does not have the role, instead of running when the user has it.
Here is an example layout of the condition:
This type of target will check the roles of the user who triggered the command / event or clicked a / .
The user option target will check the roles of a user selected from the command's
This field is where you will input the user option variable. Keep in mind this field only accepts , so you must have one in your command for this field to work.
This field is where you input a plain user ID or a that contains a user ID. Make sure there are no extra symbols or spaces when inputting this.
This dropdown menu is where you choose the certain role to compare for the condition. You will be able to select a as well under the Command Options section of the list as shown in the image. If your role isn't showing, click the refresh icon next to the Role title.
In this section you can edit the compared role by switching the role ID. may be used this in field or a plain role ID.