Antinuke
Threshold-based protection against mass bans, channel deletion and rogue bots.
Antinuke watches destructive actions and counts them per actor. When someone crosses a threshold inside the tracked window, Nights applies the punishment you configured — automatically, without waiting for a human.
Enable this before handing out staff roles
Enable the system#
Antinuke is off by default. Enabling it is a single command, but note that it is gated on the antinuke admin role rather than a Discord permission — see permissions.
,an enable,antinuke,antinukeantinuke adminShow the antinuke overview and current status. Aliased to ,an.
,an enableantinuke adminEnable the antinuke system.
,antinuke disableantinuke adminDisable the antinuke system entirely.
Configure each module#
Modules are configured independently, so you can be strict about bans and relaxed about channel edits. Each takes an action and a threshold.
,an ban on --do ban --threshold 3,an botadd on --do ban,an channel on --do strip --threshold 5| Parameter | Type | Description |
|---|---|---|
| on | offrequired | state | Whether this module is actively watched. |
| --do | ban | kick | strip | What happens to an actor who crosses the threshold. strip removes their roles instead of removing them. |
| --threshold | number | How many actions inside the tracked window before the punishment fires. Lower is stricter. |
Bot additions have no useful threshold
,an botadd is normally left without a threshold — it acts on the first occurrence.Allowlisting#
Legitimate automation will trip these modules. Authorize the accounts that are meant to perform bulk actions so they are exempt:
- Bots you deliberately added — logging, levelling, backup tooling.
- Staff accounts that run scheduled cleanups.
- The server owner, who is always exempt and cannot be actioned by antinuke.
,antinuke permissions grant @Lupos,antinuke admin listVerify before you rely on it
,antinuke after configuring. The overview lists every module with its current state, action and threshold — if a module reads as disabled there, it is not protecting you.Still stuck?
Ask in the support server — a human will get back to you.