Skip to main content

,antinuke

Also ,anSlash /antinuke#antinuke

Protects your server

Syntax,antinuke rule <action> <on|off> [++punish <punish> ++threshold <number> ++window <seconds> ++wide <on|off> ++countbot <on|off> ++revert <on|off>]
Slash/antinuke <subcommand>
Example,antinuke rule ban on ++punish ban ++threshold 3

<required> · [optional]

Permission
Server Owner
Cooldown
None
Right-click menu
None

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>infocheckreset

Subcommands

Prefix subcommands12 subcommands, A to Z
,antinuke botadd <on/off> [++punish <punishment>] [++revert <on|off>]

restricts adding bots

aka bot, invitebot#antinuke-botadd
,antinuke channel on [++punish <punishment>] [++threshold <number>] [++window <seconds>]

anti nuke for channels

,antinuke channel on ++punish ban ++threshold 3 ++window 60
,antinuke check

audits whether anti-nuke will actually fire, before anything gets nuked

,antinuke check
,antinuke emote on [++punish <punishment>] [++threshold <number>]

anti nuke for emotes

,antinuke emote on ++punish stripstaff ++threshold 3
aka emotes#antinuke-emote
,antinuke grantadmin <on/off> [++punish <punishment>] [++wide <on|off>] [++revert <on|off>]

restricts granting admin

,antinuke info

gets antinuke info

,antinuke log <channel|off>

sets or clears the anti-nuke incident log channel

,antinuke log #protection-logs
,antinuke removeadmin <on/off> [++punish <punishment>] [++wide <on|off>] [++revert <on|off>]

restricts removing admin

,antinuke reset

turns off every anti-nuke rule

,antinuke reset
,antinuke role on [++punish <punishment>] [++threshold <number>]

anti nuke for roles

,antinuke role on ++punish ban ++threshold 3
,antinuke rule <action> <on|off> [++punish <punishment>] [++threshold <number>] [++window <seconds>] [++wide <on|off>] [++countbot <on|off>] [++revert <on|off>]

configure any anti-nuke rule by action name

,antinuke rule ban on ++punish ban ++threshold 3
,antinuke whitelist <add|remove> <user|role>

exempts a user or role from anti-nuke punishment

,antinuke whitelist add @Staff

Slash commands 15 leaves, grouped the way Discord groups /antinuke

<required> · [optional]. Parameters come from Discord’s own registered commands; a blank default means the bot states none.

Two trees, not one view of one

This command registers 15 leaves on the slash surface against 12 subcommands in its prefix tree. Both lists are on this page in full; neither is a summary of the other.
/antinuke, top level11 leaves
/antinuke channel

Anti-nuke for channel deletion

/antinuke channelstate (required)punishthresholdwindow
ParameterTypeDefaultDetail
staterequiredString—on/offon · off
punishString—PunishmentWarn · Timeout · Strip Staff · Kick · Ban
thresholdInteger—Trigger threshold(1–50)
windowInteger60Sliding window in seconds(5–300)
#antinuke-channel
/antinuke role

Anti-nuke for role deletion

/antinuke rolestate (required)punishthresholdwindow
ParameterTypeDefaultDetail
staterequiredString—on/offon · off
punishString—PunishmentWarn · Timeout · Strip Staff · Kick · Ban
thresholdInteger—Trigger threshold(1–50)
windowInteger60Sliding window in seconds(5–300)
#antinuke-role
/antinuke emote

Anti-nuke for emote deletion

/antinuke emotestate (required)punishthresholdwindow
ParameterTypeDefaultDetail
staterequiredString—on/offon · off
punishString—PunishmentWarn · Timeout · Strip Staff · Kick · Ban
thresholdInteger—Trigger threshold(1–50)
windowInteger60Sliding window in seconds(5–300)
#antinuke-emote
/antinuke botadd

Restrict adding bots

/antinuke botaddstate (required)punishrevert
ParameterTypeDefaultDetail
staterequiredString—on/offon · off
punishString—PunishmentWarn · Timeout · Strip Staff · Kick · Ban
revertBooleanONAutomatically remove the invited bot after punishing
#antinuke-botadd
/antinuke grantadmin

Restrict granting admin

/antinuke grantadminstate (required)punishwiderevert
ParameterTypeDefaultDetail
staterequiredString—on/offon · off
punishString—PunishmentWarn · Timeout · Strip Staff · Kick · Ban
wideBooleanoffAlso watch a wider permission set, not just Administrator
revertBooleanoffAutomatically undo the grant on trip, after punishing
#antinuke-grantadmin
/antinuke removeadmin

Restrict removing admin

/antinuke removeadminstate (required)punishwiderevert
ParameterTypeDefaultDetail
staterequiredString—on/offon · off
punishString—PunishmentWarn · Timeout · Strip Staff · Kick · Ban
wideBooleanoffAlso watch a wider permission set, not just Administrator
revertBooleanoffAutomatically undo the removal on trip, after punishing
#antinuke-removeadmin
/antinuke rule

Configure any anti-nuke rule by action name

/antinuke ruleaction (required)state (required)punishthresholdwindowwidecountbotrevert
ParameterTypeDefaultDetail
actionrequiredString—Which action to configureChannel · Role · Emote · Ban · Unban · Kick · Botadd · Grantadmin · Removeadmin · Webhook · Integration · Sticker · Guild · Channelcreate · Rolecreate · Vanity
staterequiredString—on/offon · off
punishString—PunishmentWarn · Timeout · Strip Staff · Kick · Ban
thresholdInteger—Trigger threshold(1–50)
windowInteger60Sliding window in seconds, not for first-occurrence actions(5–300)
wideBooleanoffgrantadmin/removeadmin only: watch a wider permission set
countbotBooleanoffAlso count this action when a human orders it through the bot
revertBooleanoffAutomatically undo this action on trip, after punishing: only where an undo exists
#antinuke-rule
/antinuke log

Set or clear the anti-nuke incident log channel

/antinuke logchannel
ParameterTypeDefaultDetail
channelChannel—Channel to log to (omit to clear)(text, announcement channels)
#antinuke-log
/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
/antinuke whitelist4 leaves
/antinuke whitelist add

Whitelist a user or a role: give exactly one

/antinuke whitelist adduserrole
ParameterTypeDefaultDetail
userUser—User to whitelist
roleRole—Role to whitelist
#antinuke-whitelist-add
/antinuke whitelist remove

Remove a user or role from the whitelist

/antinuke whitelist removetarget (required)
ParameterTypeDefaultDetail
targetrequiredString—User or role to removeautocompletes as you type: no fixed list
#antinuke-whitelist-remove
/antinuke whitelist list

List the whitelist

#antinuke-whitelist-list
/antinuke whitelist clear

Clear the whitelist

#antinuke-whitelist-clear