Skip to content
Xenon

Anti-nuke

A nuke is someone with admin rights tearing down a server in a few minutes. They delete the channels and roles, and ban or kick the members. It’s usually a hacked account, a moderator gone rogue, or a bot someone added.

With anti-nuke on, Xenon stops them. It takes away their admin and moderation roles and DMs the server owner, so they can’t do more. You can see who it stopped on the Anti-nuke page of the dashboard.

Anti-nuke is free. It’s off until the server owner turns it on.

See whether anti-nuke is on for this server, and turn it on or off.

/antinuke

Only you can see the reply. It shows anything that stops anti-nuke from working, like a missing permission or a role above Xenon’s. It also says whether change tracking is on, which you need to undo a nuke.

The first time you turn it on, every bot already in the server is trusted. Ticket and backup bots create and delete channels all the time, and anti-nuke leaves them alone. A bot added later isn’t trusted, even if you turn anti-nuke off and on again.

By default, Xenon removes the person’s roles with admin or moderation permissions. On the dashboard, you can have it remove all their roles, kick them, or ban them instead. A bot is always kicked, since its own role can’t be taken from it.

Xenon can only act on someone whose roles are below Xenon’s highest role. Move Xenon’s role near the top in Server Settings > Roles. /antinuke tells you which roles are out of reach.

The owner gets a DM each time Xenon stops someone. On the dashboard, you can pick a channel for Xenon to post in too. The owner also gets a DM when someone changes the settings so anti-nuke protects less.

With change tracking on, Xenon can put back what a nuke deleted. Open the incident on the Anti-nuke page of the dashboard and click Undo the damage. Xenon recreates the deleted channels and roles with their settings and permissions, deletes the channels and roles the nuke created, takes back admin permissions it gave to roles, and lifts its bans. You review it all before anything changes on the server.

Other changes made during the nuke, like a renamed server, aren’t part of the incident. Revert them on the Changes page.

Change tracking comes with Xenon Premium 2 and 3, and it has to be on before the nuke happens. Xenon can’t bring back messages in deleted channels or members’ roles on a deleted role, but a backup that saved them can. Kicked members, deleted webhooks, emojis, stickers, AutoMod rules, and threads don’t come back.

Xenon never stops a trusted role, bot, or person. Pick them on the dashboard. Only the server owner can trust someone. Trust as few as you can, since a hacked trusted account can still nuke the server.

You don’t need this to use anti-nuke. It’s here if you want to know how Xenon tells a nuke from normal moderation.

Xenon reads the server’s audit log as it happens. It counts what each person did in the last 10 minutes, and steps in when someone goes over one of these limits.

WhatAllowed in 10 minutes
Channels deleted6
Roles deleted3
Members banned8
Members kicked8
Members prunednone
Channels created12
Roles created6
Webhooks created or deleted6
Emojis, stickers, or AutoMod rules deleted6
Roles given admin or moderation permissions3
Vanity URL changednone

There’s also a limit of 20 of these in 10 minutes across everyone, for a nuke spread over several accounts. When it’s reached, Xenon stops everyone who did at least 2 of them.

The server owner is never counted, and neither is Xenon.

You can change the limits on the dashboard, under Advanced. You can also count bots being added and threads being deleted, which are off by default. Only the server owner can raise a limit or turn one off.