Role
Branch on the roles a member has.
logic.role checks whether a member has a role, any of several, or all of them.
Settings
| Setting | What it does |
|---|---|
| Who | The member to check. Empty is whoever started the flow. |
| Has | One role, or several separated by commas, picked from the server's or typed. The default is Moderator. |
| With several | Any of them, or all of them. |
Ways out
| Way out | Taken when |
|---|---|
Has the role | The member has the role, or any (or all) of them. |
Doesn't | They don't. |
Turn on If it fails for a red way out, taken when a role doesn't exist.
Notes
- The canvas shows
Has @Role, or the roles joined with "or" or "and". - Checking someone other than whoever started the flow asks Discord for their roles.
- For a check on what someone can do rather than a named role, use Permissions.