Members & roles · Check
Member outranks
Whether one member's highest role is above another's (the owner outranks everyone).
member.outranks
In a flow
“When a button is clicked, if “Member outranks” is true, reply with a message.”
If Member outranks Target → Ban.
What it does
Whether one member's highest role is above another's (the owner outranks everyone). It's a check: put it in an If, and the flow goes one way when it's true and the other when it isn't. Find it under Members & roles in the palette.
When to use it
Use it when the flow acts on a member: whether one member's highest role is above another's (the owner outranks everyone).
When not to
To pick between more than two outcomes, Switch or Random reads better than a chain of checks.
Typical wiring
Sockets: settings you can wire
- Member Member
-
The one who should be higher; unwired is the member who started the flow.
What goes there: Type it in the side panel, or wire in a member. e.g. @Alex
If it's empty: Optional. Left empty and unwired, the step runs without it.
Connects fromAccept applicationApplication infoAsk a questionAsk follow-upBoard as emojiCall the next in the queueCase createdCheck for a lineand 87 more
- Than Member
-
The other member.
What goes there: Type it in the side panel, or wire in a member. e.g. @Alex
If it's empty: Optional. Left empty and unwired, the step runs without it.
Connects fromAccept applicationApplication infoAsk a questionAsk follow-upBoard as emojiCall the next in the queueCase createdCheck for a lineand 87 more