GimCommandsDocsStatusDiscord
Dashboard

Antinuke & antiraid

Antinuke stops someone with permissions from wrecking the server, and antiraid stops floods of new accounts. Filters and honeypots delete spam as it arrives.

Antinuke

Antinuke watches Discord's audit log. If someone bans, kicks, or deletes channels or roles faster than you allow, they're punished straight away and the owner gets a DM. Only the server owner and the antinuke admins they pick (,antinuke admin) can change it.

Ban anyone who bans 3+ members within a minute
,antinuke ban on --threshold 3 --do ban
ModuleWatches
banMass bans (add --command on to count bans done through bot commands too)
kickMass kicks (--command on works here too)
roleMass role deletes
channelMass channel creates and deletes
emojiMass emoji deletes
webhookMass webhook creation
vanityAnyone changing the vanity URL (no threshold)
botaddNew bots that aren't whitelisted (the bot is kicked)
permissionsRoles given dangerous permissions (,antinuke permissions grant administrator)
  • --threshold is how many actions in a minute are allowed (default 3, up to 50). --do is the punishment: ban (default), kick, jail, stripstaff or warn.
  • ,antinuke whitelist trusts a member or bot completely. The owner and the bot itself are never counted.
  • ,antinuke config shows everything; ,antinuke ban off turns a module off.
Antinuke can only punish people below the bot's role. Keep the bot's role at the top, and give the bot View Audit Log.

Antiraid

CommandCatches
,antiraid massjoin on --threshold 10 --do ban --lock true --punish trueToo many joins within 10 seconds: the server goes into raid mode. --lock locks channels, --punish also punishes everyone who joined in the wave
,antiraid newaccounts on --threshold 7 --do kickAccounts younger than that many days
,antiraid avatar on --do kickAccounts with no avatar
  • Antiraid actions are ban or kick. ,antiraid whitelist lets a specific account through.
  • In raid mode, welcome and goodbye messages pause, and with --punish true everyone who joins is punished too. ,antiraid state ends it.
  • ,raid removes everyone who joined in a time window after the fact.

For stronger protection, add verification with a captcha.

Filters

Filters delete messages as they're sent. Turn one on in a channel, or in every channel with all:

,filter invites all on --do delete
,filter spam #general on --threshold 5 --do jail
,filter caps all on --threshold 70
,filter add badword
  • Kinds: invites, links (with a whitelist), spam, caps, emoji, massmention, spoilers, musicfiles, plus blocked words (,filter add) and patterns (,filter regex).
  • --do can be delete (default), warn, jail, kick or ban. Each kind has an exempt list of roles; administrators are never filtered.

Honeypot

A bait channel only spam bots post in. Anyone who types there is deleted and punished. Administrators and staff are exempt.

,honeypot add #dont-type-here softban

Punishments: ban, softban (ban and unban, deleting their recent messages) or jail. When you add one, the bot posts a warning in the channel so members don't type there by mistake. Spam bots don't read it.

Restricted pings

Pick roles only some roles may ping. Anyone else's ping of the role is deleted, and after a few in 10 minutes they're timed out.

,restrictping add @Announcements
,restrictping whitelist @Announcements @Event Team
,restrictping threshold @Announcements 2
,restrictping duration @Announcements 30m

The default is 3 pings, then a 10-minute timeout; ,restrictping duration @role 0 only deletes. Administrators, Manage Server, staff roles and members Discord lets ping everyone are never stopped. ,restrictping list shows them all. These commands need Manage Server.

All of this is on the dashboard under Safety. Every hit is counted on the Statistics page.