,antinuke
Protects your server
User permissions
- Server Owner
Cooldown
- none
Other surface
- /antinuke · 15 slash subs vs 12 prefix
Anchor
- #antinuke
Forms
Punishments Available | warn, timeout, stripstaff, kick, banchannel on [++punish <punish> ++threshold <number> ++window <seconds>]channel offrole on [++punish <punish> ++threshold <number> ++window <seconds>]role offemote on [++punish <punishments> ++threshold <number> ++window <seconds>]emote offbotadd <on|off> [++revert <on|off>]grantadmin <on|off> [++wide <on|off> ++revert <on|off>]removeadmin <on|off> [++wide <on|off> ++revert <on|off>]whitelist <add|remove> <user|role>whitelist listwhitelist clearrule <action> <on|off> [++punish <punish> ++threshold <number> ++window <seconds> ++wide <on|off> ++countbot <on|off> ++revert <on|off>]log <channel|off>infocheckresetSyntax
,antinuke rule <action> <on|off> [++punish <punish> ++threshold <number> ++window <seconds> ++wide <on|off> ++countbot <on|off> ++revert <on|off>]
/antinuke <subcommand>
<required> · [optional]
Example
,antinuke rule ban on ++punish ban ++threshold 3
Subcommands
12 prefix subcommandsRead from the prefix .sub/ tree, the canonical shape. Every entry has a permanent anchor of its own.
,antinuke botaddaka bot, invitebotrestricts adding bots
,antinuke botadd <on/off> [++punish <punishment>] [++revert <on|off>]#antinuke-botadd,antinuke channelanti nuke for channels
,antinuke channel on [++punish <punishment>] [++threshold <number>] [++window <seconds>],antinuke channel on ++punish ban ++threshold 3 ++window 60#antinuke-channel
,antinuke checkaka auditaudits whether anti-nuke will actually fire, before anything gets nuked
,antinuke check,antinuke check#antinuke-check
,antinuke emoteaka emotesanti nuke for emotes
,antinuke emote on [++punish <punishment>] [++threshold <number>],antinuke emote on ++punish stripstaff ++threshold 3#antinuke-emote
,antinuke grantadminrestricts granting admin
,antinuke grantadmin <on/off> [++punish <punishment>] [++wide <on|off>] [++revert <on|off>]#antinuke-grantadmin,antinuke infoaka list,antinuke logsets or clears the anti-nuke incident log channel
,antinuke log <channel|off>,antinuke log #protection-logs#antinuke-log
,antinuke removeadminrestricts removing admin
,antinuke removeadmin <on/off> [++punish <punishment>] [++wide <on|off>] [++revert <on|off>]#antinuke-removeadmin,antinuke resetaka r,antinuke roleaka rolesanti nuke for roles
,antinuke role on [++punish <punishment>] [++threshold <number>],antinuke role on ++punish ban ++threshold 3#antinuke-role
,antinuke ruleconfigure any anti-nuke rule by action name
,antinuke rule <action> <on|off> [++punish <punishment>] [++threshold <number>] [++window <seconds>] [++wide <on|off>] [++countbot <on|off>] [++revert <on|off>],antinuke rule ban on ++punish ban ++threshold 3#antinuke-rule
,antinuke whitelistaka wlexempts a user or role from anti-nuke punishment
,antinuke whitelist <add|remove> <user|role>,antinuke whitelist add @Staff#antinuke-whitelist
Slash leaves
15 leavesRead from the registered slash builder: groups are flattened, so a grouped leaf reads “group leaf” and anchors with a hyphen between the two words.
Two trees, not one view of one
/antinuke channel
Anti-nuke for channel deletion
/antinuke channelstate*punishthresholdwindow| Parameter | Type | Default | Detail |
|---|---|---|---|
staterequired | String | — | on/offon · off |
punish | String | — | PunishmentWarn · Timeout · Strip Staff · Kick · Ban |
threshold | Integer | — | Trigger threshold(1–50) |
window | Integer | 60 | Sliding window in seconds(5–300) |
/antinuke role
Anti-nuke for role deletion
/antinuke rolestate*punishthresholdwindow| Parameter | Type | Default | Detail |
|---|---|---|---|
staterequired | String | — | on/offon · off |
punish | String | — | PunishmentWarn · Timeout · Strip Staff · Kick · Ban |
threshold | Integer | — | Trigger threshold(1–50) |
window | Integer | 60 | Sliding window in seconds(5–300) |
/antinuke emote
Anti-nuke for emote deletion
/antinuke emotestate*punishthresholdwindow| Parameter | Type | Default | Detail |
|---|---|---|---|
staterequired | String | — | on/offon · off |
punish | String | — | PunishmentWarn · Timeout · Strip Staff · Kick · Ban |
threshold | Integer | — | Trigger threshold(1–50) |
window | Integer | 60 | Sliding window in seconds(5–300) |
/antinuke botadd
Restrict adding bots
/antinuke botaddstate*punishrevert| Parameter | Type | Default | Detail |
|---|---|---|---|
staterequired | String | — | on/offon · off |
punish | String | — | PunishmentWarn · Timeout · Strip Staff · Kick · Ban |
revert | Boolean | ON | Automatically remove the invited bot after punishing |
/antinuke grantadmin
Restrict granting admin
/antinuke grantadminstate*punishwiderevert| Parameter | Type | Default | Detail |
|---|---|---|---|
staterequired | String | — | on/offon · off |
punish | String | — | PunishmentWarn · Timeout · Strip Staff · Kick · Ban |
wide | Boolean | off | Also watch a wider permission set, not just Administrator |
revert | Boolean | off | Automatically undo the grant on trip, after punishing |
/antinuke removeadmin
Restrict removing admin
/antinuke removeadminstate*punishwiderevert| Parameter | Type | Default | Detail |
|---|---|---|---|
staterequired | String | — | on/offon · off |
punish | String | — | PunishmentWarn · Timeout · Strip Staff · Kick · Ban |
wide | Boolean | off | Also watch a wider permission set, not just Administrator |
revert | Boolean | off | Automatically undo the removal on trip, after punishing |
/antinuke rule
Configure any anti-nuke rule by action name
/antinuke ruleaction*state*punishthresholdwindowwidecountbotrevert| Parameter | Type | Default | Detail |
|---|---|---|---|
actionrequired | String | — | Which action to configureChannel · Role · Emote · Ban · Unban · Kick · Botadd · Grantadmin · Removeadmin · Webhook · Integration · Sticker · Guild · Channelcreate · Rolecreate · Vanity |
staterequired | String | — | on/offon · off |
punish | String | — | PunishmentWarn · Timeout · Strip Staff · Kick · Ban |
threshold | Integer | — | Trigger threshold(1–50) |
window | Integer | 60 | Sliding window in seconds, not for first-occurrence actions(5–300) |
wide | Boolean | off | grantadmin/removeadmin only: watch a wider permission set |
countbot | Boolean | off | Also count this action when a human orders it through the bot |
revert | Boolean | off | Automatically undo this action on trip, after punishing: only where an undo exists |
/antinuke whitelist addgroup whitelist
Whitelist a user or a role: give exactly one
/antinuke whitelist adduserrole| Parameter | Type | Default | Detail |
|---|---|---|---|
user | User | — | User to whitelist |
role | Role | — | Role to whitelist |
/antinuke whitelist removegroup whitelist
Remove a user or role from the whitelist
/antinuke whitelist removetarget*| Parameter | Type | Default | Detail |
|---|---|---|---|
targetrequired | String | — | User or role to removeautocompletes as you type: no fixed list |
/antinuke whitelist listgroup whitelist
List the whitelist
#antinuke-whitelist-list/antinuke whitelist cleargroup whitelist
Clear the whitelist
#antinuke-whitelist-clear/antinuke log
Set or clear the anti-nuke incident log channel
/antinuke logchannel| Parameter | Type | Default | Detail |
|---|---|---|---|
channel | Channel | — | Channel to log to (omit to clear)(text, announcement channels) |
/antinuke info
Show antinuke configuration
#antinuke-info/antinuke check
Audit whether anti-nuke will actually fire, before anything gets nuked
#antinuke-check/antinuke reset
Turn off every anti-nuke rule
#antinuke-reset