Elementium Sign in
Contents

Protection · Step

Strip staff roles

Take every role with staff permissions (Administrator, Manage Server, Roles, Channels, Ban, Kick and the like) from a member, and remember them so they can be given back.

Basic plan nuke.strip_staff

In a flow

“When a button is clicked, strip staff roles.”

Over limit → Strip staff roles → Send message to #staff: their roles were taken.

What it does

Take every role with staff permissions (Administrator, Manage Server, Roles, Channels, Ban, Kick and the like) from a member, and remember them so they can be given back. It's a step: it runs when the white wire reaches it, then the flow carries on from its Then pin. It gives 2 values later steps can use. Find it under Protection in the palette.

When to use it

Use it to keep the server safe: take every role with staff permissions (Administrator, Manage Server, Roles, Channels, Ban, Kick and the like) from a member, and remember them so they can be given back.

When not to

If nothing should change in Discord, a value node or a check is lighter.

Typical wiring

Sockets: settings you can wire

Who Member

The staff member who did it. Wire in Who did it from the audit log trigger.

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

Reason Text

Why, for the audit log. Variables allowed.

What goes there: Type it in the side panel, or wire in text. e.g. Hello there

If it's empty: Optional. Left empty and unwired, it uses Anti-nuke.

Connects fromA member's variablesAccept applicationAdd a Notion pageAdd a Trello cardAdd an emojiAdd to number in objectAdd up timesAdd working daysand 844 more

Values it gives

Roles taken list:role

The roles it took. e.g. @Mod, @Admin

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 roles it took. 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 718 more

Often next

Related in Protection

Wires and sockets · Data values · Plans