Protection · Value
Roles with staff permissions
Every role that can manage the server, its roles, channels or members, highest first.
role.staff_roles
In a flow
“Works out roles with staff permissions whenever a step wired to it needs the answer.”
Security post → Roles with staff permissions As text.
What it does
Every role that can manage the server, its roles, channels or members, highest first. It's a value node: no white pins, it works out its answer when a step wired to it needs it. It gives 3 values later steps can use. Find it under Protection in the palette.
When to use it
Use it to keep the server safe: every role that can manage the server, its roles, channels or members, highest first.
When not to
For a value that never changes, type it into the setting instead of wiring a node.
Typical wiring
Values it gives
- Roles list:role
-
The roles, highest first. e.g. @Admin, @Mod
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAdd onboarding questionAdd to listAdd up timesAutoMod: add or remove allowed wordsAutoMod: add or remove wordsAutoMod: block wordsBar chartBest by a fieldand 88 more
- Count Number
-
How many there are. e.g. 2
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAccount ageActive membersAddAdd answer to formAdd soundboard soundAdd timeAdd to a counterAdd to a leaderboardand 719 more
- As text Text
-
Each role and its strongest permission. e.g. @Admin: Administrator
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAccept applicationAdd a forum tagAdd a labelAdd a Notion pageAdd a row to a Google SheetAdd a staff noteAdd a stickerAdd a Trello cardand 578 more