Members & roles · Step
Move everyone to a role
Everyone with one role gets another instead, like Trial to Member.
role.move_members
In a flow
“When a button is clicked, move everyone to a role.”
/promote-trials → Move everyone to a role Trial → Member.
What it does
Everyone with one role gets another instead, like Trial to Member. It's a step: it runs when the white wire reaches it, then the flow carries on from its Then pin. It gives 1 value later steps can use. Find it under Members & roles in the palette.
When to use it
Use it when the flow acts on a member: everyone with one role gets another instead, like Trial to Member.
When not to
If nothing should change in Discord, a value node or a check is lighter.
Typical wiring
Sockets: settings you can wire
- From role Role needed
-
The role they have now.
What goes there: Type it in the side panel, or wire in a role. e.g. @Verified
If it's empty: Needed. Publish lists it until it's set or wired; the step can't run without it.
Connects fromAsk a questionCopy a roleCreate roleFind role by nameHighest roleMember detailsPersonal colour roleRead settingand 3 more
- To role Role needed
-
The role they get instead.
What goes there: Type it in the side panel, or wire in a role. e.g. @Verified
If it's empty: Needed. Publish lists it until it's set or wired; the step can't run without it.
Connects fromAsk a questionCopy a roleCreate roleFind role by nameHighest roleMember detailsPersonal colour roleRead settingand 3 more
Values it gives
- Members Number
-
How many moved. e.g. 8
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