Skip to main content

,antinuke

aka ,an

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

Syntax

,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 subcommands

Read from the prefix .sub/ tree, the canonical shape. Every entry has a permanent anchor of its own.

,antinuke botaddaka bot, invitebot

restricts adding bots

,antinuke botadd <on/off> [++punish <punishment>] [++revert <on|off>]
#antinuke-botadd
,antinuke channel

anti 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 audit

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

,antinuke check
,antinuke check
#antinuke-check
,antinuke emoteaka emotes

anti nuke for emotes

,antinuke emote on [++punish <punishment>] [++threshold <number>]
,antinuke emote on ++punish stripstaff ++threshold 3
#antinuke-emote
,antinuke grantadmin

restricts granting admin

,antinuke grantadmin <on/off> [++punish <punishment>] [++wide <on|off>] [++revert <on|off>]
#antinuke-grantadmin
,antinuke infoaka list

gets antinuke info

,antinuke info
#antinuke-info
,antinuke log

sets or clears the anti-nuke incident log channel

,antinuke log <channel|off>
,antinuke log #protection-logs
#antinuke-log
,antinuke removeadmin

restricts removing admin

,antinuke removeadmin <on/off> [++punish <punishment>] [++wide <on|off>] [++revert <on|off>]
#antinuke-removeadmin
,antinuke resetaka r

turns off every anti-nuke rule

,antinuke reset
,antinuke reset
#antinuke-reset
,antinuke roleaka roles

anti nuke for roles

,antinuke role on [++punish <punishment>] [++threshold <number>]
,antinuke role on ++punish ban ++threshold 3
#antinuke-role
,antinuke rule

configure 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 wl

exempts a user or role from anti-nuke punishment

,antinuke whitelist <add|remove> <user|role>
,antinuke whitelist add @Staff
#antinuke-whitelist

Slash leaves

15 leaves

Read 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

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 channel

Anti-nuke for channel deletion

/antinuke channelstate*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*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*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*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*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*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*state*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 whitelist addgroup whitelist

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 removegroup whitelist

Remove a user or role from the whitelist

/antinuke whitelist removetarget*
ParameterTypeDefaultDetail
targetrequiredString—User or role to removeautocompletes as you type: no fixed list
#antinuke-whitelist-remove
/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
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