Skip to content

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.

2 min read Needs AdministratorAlso in the dashboard18 commands documented

Turn it on

  1. Step 1: Drag Pleed's role to the very top of Server Settings › Roles. Anti-nuke can only punish people below it.

  2. Step 2: Run !antinuke enable. Every module switches on with safe defaults (see the table below).

  3. 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.

  4. Step 4: Whitelist bots and people who bulk-edit on purpose with !antinuke whitelist @user. You can whitelist a role too.

  5. 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.

ModuleCountsDefault limitDefault 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
PunishmentWhat 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:

Ban anyone who bans 3 people within 12 seconds
!antinuke ban on --threshold 3 --do ban
SettingWhat 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.

What members see
mod-log

PleedBOTToday at 18:40

Anti-nuke stopped a mass ban

@mod-account banned 3 members in 12 seconds. Your limit is 3.Action taken: banned the account

Alerts go to the main log channel you set in Logging.

Common problems

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

  • !antinuke

    Show the anti-nuke help.

    Aliasan

  • !antinuke admin [user]

    Make someone an anti-nuke admin (owner only). They can change anti-nuke settings.

  • !antinuke admin remove <user>

    Take away someone's anti-nuke admin.

    Example!antinuke admin remove @Sam

    Aliasesdeletedel

  • !antinuke admins

    List the anti-nuke admins.

  • !antinuke ban [status] [args...]

    Mass ban protection. Example: !antinuke ban on --threshold 3 --do ban.

  • !antinuke botadd [status] [args...]

    Punish anyone who adds a bot that isn't whitelisted.

  • !antinuke channel [status] [args...]

    Protection against channels being deleted or created in bulk.

  • !antinuke config

    Show every setting, admin and whitelisted user or role.

    Aliassettings

  • !antinuke disable

    Turn anti-nuke off.

  • !antinuke emoji [status] [args...]

    Protection against emoji and stickers being deleted in bulk.

  • !antinuke enable

    Turn anti-nuke on with the default limits.

  • !antinuke kick [status] [args...]

    Mass kick protection. Example: !antinuke kick on --threshold 4 --do kick.

  • !antinuke list

    Show each module with its limit and punishment.

    Aliasmodules

  • !antinuke role [status] [args...]

    Protection against roles being deleted or created in bulk.

  • !antinuke vanity [status] [args...]

    Punish anyone who changes the server's vanity URL.

  • !antinuke webhook [status] [args...]

    Protection against webhooks being created (a common way to spam).

  • !antinuke whitelist [target]

    Let a user, bot or role skip anti-nuke. Run it with nothing to see the whitelist.

    Aliaswl

  • !antinuke whitelist remove <target>

    Take someone off the whitelist.

    Example!antinuke whitelist remove @Sam

    Aliasesdeletedel

Stuck on something?

Ask the Pleed team and community in the support server — or browse every public command in the command explorer.