Protect your server
Anti-nuke
If a hacked staff account or a rogue bot starts mass banning, kicking or deleting, anti-nuke stops it. It watches the audit log and punishes whoever goes over your limits, within seconds.
Turn it on
Step 1: Drag Pleed's role to the very top of Server Settings › Roles. Anti-nuke can only punish people below it.
Step 2: Run
!antinuke enable. Every module switches on with safe defaults (see the table below).Step 3: Add the people you trust to run it with
!antinuke admin @user. Only the server owner and these admins can change anti-nuke.Step 4: Whitelist bots and people who bulk-edit on purpose with
!antinuke whitelist @user. You can whitelist a role too.Step 5: Check everything with
!antinuke config.
Only the owner can add the first admin
Anti-nuke settings can only be changed by the server owner or an anti-nuke admin, even if someone has Administrator.
What it watches
Each module counts one kind of action per person over 12 seconds. Go over the limit and the punishment happens.
| Module | Counts | Default limit | Default punishment |
|---|---|---|---|
ban | Bans | 3 | Ban |
kick | Kicks | 4 | Kick |
channel | Channels deleted or created | 2 | Ban |
role | Roles deleted or created | 2 | Ban |
emoji | Emoji and stickers deleted | 2 | Kick |
webhook | Webhooks created | 1 | Ban |
botadd | Bots added to the server | 1 | Kick |
vanity | Vanity URL changed | 1 | Strip roles |
| Punishment | What happens |
|---|---|
ban | Bans the account. |
kick | Kicks the account. |
timeout | Times the account out for 1 day. |
strip | Takes away every role Pleed can remove, so they can't do more damage. |
none | Only logs it. |
Change a module
Type the module, then on or off, then any settings you want to change:
!antinuke ban on --threshold 3 --do ban| Setting | What it does |
|---|---|
--threshold <1-20> | How many actions are allowed before the punishment. |
--do <punishment> | ban, kick, timeout, strip or none. |
--command on | Also count actions done through bot commands (like !ban), not just Discord's own buttons. |
See every module and its settings with !antinuke list.
PleedBOTToday at 18:40
Anti-nuke stopped a mass ban
Alerts go to the main log channel you set in Logging.
Common problems
Whitelist it with !antinuke whitelist @bot. Bots that sync roles or clean up channels need this.
Only the server owner and anti-nuke admins can. Ask the owner to run !antinuke admin @you.
That account's highest role is above Pleed's. Move Pleed's role to the top.
Check the module is on with !antinuke list, and that Pleed has View Audit Log.
Command reference
18 commands, straight from the bot's code. <angle brackets> mark required arguments and [square brackets] optional ones; an alias replaces the last word of the command.
!antinuke18 commands
Show the anti-nuke help.
Alias
anMake someone an anti-nuke admin (owner only). They can change anti-nuke settings.
Take away someone's anti-nuke admin.
Example
!antinuke admin remove @SamAliases
deletedelList the anti-nuke admins.
Mass ban protection. Example:
!antinuke ban on --threshold 3 --do ban.Punish anyone who adds a bot that isn't whitelisted.
Protection against channels being deleted or created in bulk.
Show every setting, admin and whitelisted user or role.
Alias
settingsTurn anti-nuke off.
Protection against emoji and stickers being deleted in bulk.
Turn anti-nuke on with the default limits.
Mass kick protection. Example:
!antinuke kick on --threshold 4 --do kick.Show each module with its limit and punishment.
Alias
modulesProtection against roles being deleted or created in bulk.
Punish anyone who changes the server's vanity URL.
Protection against webhooks being created (a common way to spam).
Let a user, bot or role skip anti-nuke. Run it with nothing to see the whitelist.
Alias
wlTake someone off the whitelist.
Example
!antinuke whitelist remove @SamAliases
deletedel
Stuck on something?
Ask the Pleed team and community in the support server — or browse every public command in the command explorer.