Anti-nuke
Stop unauthorized destructive changes and automatically recover from them. Configure with the antinuke command (18 subcommands).
Setup
?antinuke configView anti-nuke configuration.
?antinuke enableEnable anti-nuke.
?antinuke disableDisable anti-nuke.
?antinuke recoveryToggle recovery mode to auto-restore damage.
Owners & whitelisting
?antinuke secondownerSet a second owner who can manage anti-nuke.
?antinuke removesecondownerRemove the second owner.
?antinuke ignoreuserIgnore or unignore a trusted user. Ignored users skip anti-nuke.
?antinuke ignoreroleIgnore or unignore a trusted role. Members with it skip anti-nuke.
?antinuke ignoreconfigShow the anti-nuke ignore list.
?antinuke ignoreresetReset the anti-nuke ignore list.
The owner and second owner are never acted on. Ignored members are only limited for bursts of channel, role or server changes (the ignored threshold, set on the dashboard: warned, then a 24h timeout). Their bans, kicks, bot adds and other actions are not limited, so only ignore people you fully trust.
Punishment & thresholds
?antinuke punishmentChange the punishment applied to offenders. Mute is a 24h timeout and doesn't work on members with Administrator.
?antinuke thresholdSet which action by a non-ignored member triggers anti-nuke. 1 (default) acts on the first one.
?antinuke timewindowSet how long the action threshold counts actions, in seconds (default 10).
?antinuke botlimitSet which bot add by a non-ignored member within an hour triggers anti-nuke. 1 (default) acts on the first bot.
Both limits only count members who aren't ignored, and 1 means the first action triggers. Bot adds use their own limit, counted over an hour, instead of the action threshold. When a limit is reached, the member is punished and, with auto recovery on, their earlier actions in the window are undone too (bots kicked, bans reversed, channels and roles restored).
Logging & alerts
?antinuke logsSet the log channel for anti-nuke events.
?antinuke removelogRemove the anti-nuke log channel.
?antinuke alertrolesAdd a role to ping when attacks are detected.
?antinuke removealertroleRemove a role from alert pings.