Elementium Sign in
Contents

Protection · Step

Anti-nuke guard

Count a staff action and, past the limit, strip their staff roles or quarantine them and post an alert. Never touches the owner, the bot or anyone trusted.

Basic plan nuke.guard

In a flow

“When a button is clicked, anti-nuke guard.”

Audit log entry → Anti-nuke guard: 3 channel deletes in 5 minutes strips their roles and alerts #staff.

What it does

Count a staff action and, past the limit, strip their staff roles or quarantine them and post an alert. Never touches the owner, the bot or anyone trusted. It's a step: it runs when the white wire reaches it, then the flow carries on from its Then pin. It gives 4 values later steps can use. Find it under Protection in the palette.

When to use it

Start an "audit log gets an entry" flow with it: one step counts each staff member's bans, deletes and new webhooks, and takes their staff roles past your limit.

When not to

To see the count without acting on it, use Count a staff action. Trust your co-owners first, or a busy day of honest moderation can trip it.

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

Action Text

What they did, like ban. Wire in Action from the audit log trigger. Each action is counted on its own; any counts every action together.

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 any.

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

Within (minutes) Number

How far back to count, like 10.

What goes there: Type it in the side panel, or wire in a number. e.g. 42

If it's empty: Optional. Left empty and unwired, it uses 10.

Connects fromA member's variablesAccept applicationActive membersAddAdd a forum tagAdd a labelAdd a row to a Google SheetAdd a staff noteand 500 more

Limit Number

How many are fine in that time, like 3. Over limit is true past it.

What goes there: Type it in the side panel, or wire in a number. e.g. 42

If it's empty: Optional. Left empty and unwired, it uses 3.

Connects fromA member's variablesAccept applicationActive membersAddAdd a forum tagAdd a labelAdd a row to a Google SheetAdd a staff noteand 500 more

Quarantine role Role

Only for quarantine: the role that can see nothing but one channel.

What goes there: Type it in the side panel, or wire in a role. e.g. @Verified

If it's empty: Optional. Left empty and unwired, the step runs without it.

Connects fromAsk a questionCopy a roleCreate roleFind role by nameHighest roleMember detailsPersonal colour roleRead settingand 3 more

Alert channel Channel

Where to say what happened, like #staff-alerts. Empty for nowhere.

What goes there: Type it in the side panel, or wire in a channel. e.g. #general

If it's empty: Optional. Left empty and unwired, the step runs without it.

Connects fromArchive channelAsk a questionCopy channelCopy permissionsCreate categoryCreate channelCreate forum postCreate threadand 60 more

Alert Text

What to post there. {who}, {count} and {action} are filled in. 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: {who} did {count} × {action} in a short time, so their staff roles were taken. Check the audit log..

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

Count Number

How many times they did it in the window, this time included. e.g. 4

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

Over limit Yes / no

True when the count is above the limit. e.g. true

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 a forum tagAdd onboarding questionAdd to a counterAlarms that are dueAndAutoMod: Discord's word listsBluesky latest postBoard as emojiand 572 more

Acted Yes / no

True when it stripped or quarantined them this time. e.g. true

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 a forum tagAdd onboarding questionAdd to a counterAlarms that are dueAndAutoMod: Discord's word listsBluesky latest postBoard as emojiand 572 more

Roles taken list:role

The roles it took, to give back with Give saved roles back. 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

Often next

Related in Protection

Wires and sockets · Data values · Plans