Anti-Nuke and Anti-Bot: lock down your server

Automatically bans whoever mass-deletes channels or roles and blocks unauthorized bots.

Moderation & security Last updated: Anti-Nuke / Raid

What is a «nuke» and how Nekovilo protects you

A nuke is when someone with permissions (a compromised admin, a stolen account or a malicious bot) destroys a server in seconds: deleting channels and roles and banning everyone.

Nekovilo's Anti-Nuke watches Discord's audit log. It counts the destructive actions each person performs within 60 seconds and, when someone reaches the limit, bans them automatically.

Watched actionDefault limit (per minute)Extra action besides the ban
Deleting channels3Re-creates the deleted channel (same name and settings)
Creating channels5Deletes the newly created channel
Deleting roles3—
Creating roles5Deletes the newly created role
Banning members3—
Timing out members5—

The limit counts «on reach»: with a limit of 3, the third action within a minute already triggers the ban.

Enabling it from the dashboard

  1. Open «Anti-Nuke / Raid»

    Dashboard → your server → Anti-Nuke / Raid tab.

  2. Turn on the «Anti-Nuke» switch

    Starts watching for mass deletions.

  3. Fill in «Whitelisted Users»

    IDs of trusted people separated by commas (for example, your other admins). They are never punished.

  4. Tune the limits

    Channels (deletions/creations), Roles (deletions/creations) and Moderation actions (bans and timeouts).

  5. Click «Save Security Settings»

    It is active right away.

If you are not logged in, you will sign in with Discord first and come straight back to this dashboard section.

Open Anti-Nuke in the dashboard
/antinuke activar:True

Enables (or with False disables) Anti-Nuke without opening the dashboard. Limits are changed in the dashboard.

Administrator

Anti-Bot: control which bots get in

Many attacks start by inviting a malicious bot. Anti-Bot automatically kicks bots that join, depending on the mode:

ModeBehaviour
Disabled (Allow all)Any bot can join.
Block UnverifiedKicks bots without Discord's «verified bot» badge.
Block All BotsKicks every new bot.

In «Bot Whitelist» you can add IDs of bots that may join even when the filter is on.

/antibot modo nivel:<Off|Unverified only|All bots>

Changes the Anti-Bot mode.

Administrator
/antibot whitelist bot_id:<ID>

Whitelists a bot.

Administrator

Heads up

With «Block All Bots» on, whitelist a bot before inviting it, or it will be kicked as soon as it joins.

Required permissions

What the bot needs

  • View Audit Log (without it, Anti-Nuke sees nothing)
  • Ban Members
  • Manage Channels
  • Manage Roles
  • Kick Members (Anti-Bot)
  • Role as high as possible in the list

What you need

  • Manage Messages, Manage Server or Administrator to save in the dashboard
  • Administrator for /antinuke and /antibot

Important

Anti-Nuke cannot ban anyone whose role is above the bot's, nor the server owner. That is why Nekovilo's role must sit at the very top, right below the owner.

Security best practices

  • Give Administrator to as few people as possible. Specific permissions are enough to moderate.
  • Turn on mandatory two-factor authentication for moderators in Server Settings → Safety Setup.
  • Make a backup from time to time: if someone destroys the server, you can rebuild channels and roles.
  • Regularly review the audit log and the bots in your server.

Stuck?

Our team can help you on the support server or by email.