Deal with a raid
A raid is a coordinated wave of arrivals, often from accounts created for the occasion, that aims to overwhelm your server. This guide helps you prepare Ammit to detect it, then regain control when it happens.
Before you start
- You are the server owner or an administrator, or you have been given the Anti-raid page with Edit access in Team and access. The commands require the Manage Server or Manage Channels permission.
- A sanctions channel has been chosen on the Logs page. Ammit posts its reports there.
Set up detection
In your server's menu, open Anti-raid, in the Security section. By default, Ammit reports a raid when 10 members join the server in less than 30 seconds. Adjust these two values to the size of your community. Bots are never counted.
Click the screenshot to enlarge it. Test your settings risk-free.In Alerts and quarantine, Settings tab, turn on the Protection test mode. Ammit then reports its detections without turning on raid mode by itself or sanctioning suspicious arrivals.
Choose the automatic response
Turn on the Enable raid mode automatically option. As soon as a raid is detected, Ammit enables raid mode for 30 minutes by default and applies a measure to each new arrival. Choose this measure from Kick, Mute and Quarantine. It also applies to the raid mode you turn on yourself, and can still be changed when the option is turned off.
The Automatic response to a raid can also trigger panic mode, which locks all text channels in addition to raid mode. If panic mode cannot start, Ammit turns on raid mode instead and gives the reason in its report.
If Ammit has the Manage Server permission, panic mode also suspends invitations and direct messages between members, for 24 hours at most. With this permission, Ammit also revokes, for each raid detected, the invitation used by most of the arrivals.
With PremiumThe automatic response, panic mode, quarantining new arrivals and revoking the invite are reserved for Premium servers. Without Premium, Ammit detects the raid and alerts you in the sanctions channel, then you enable raid mode yourself.
Set up quarantine
Quarantine removes a member's roles and gives them a role with no access to the channels. Create this role in Discord, then select it in Alerts and quarantine, on the Settings tab, in the Quarantine role field. Without this role, Ammit cannot automatically quarantine new arrivals.
Also choose a Security alerts channel, reserved for your team. Ammit posts raid and suspicious arrival alerts there, with their buttons. Without this channel, it posts them in the sanctions channel.
During a raid, regain control
Enable raid mode with the /raidmode command and the Enable action, or with the Enable raid mode button on the Alerts and quarantine page. Each new arrival then receives the chosen measure, and Ammit pauses welcome messages, automatic roles and verification.
If needed, lock the targeted channels with /lock. Only your team can still post in them. The /slowmode command sets a delay between two messages, of up to 6 hours.
Discord command What it does and options Required permissions Lock a channel: only the team can write in it Manage Channels
Manage RolesPanic mode: lock everything while you regain controlPremium Manage Server Enable, disable or check raid mode Manage Server Set a channel's slow mode Manage Channels Unlock a channel Manage Channels
Manage RolesReturn to normal
Turn off raid mode with /raidmode and the Disable action, or let it end at its deadline. Panic mode is lifted with /panic and the Disable action, which reopens the channels, restores the invitations, and turns off raid mode. Then reopen with /unlock each channel that you locked with /lock.
In Alerts and quarantine, lift the quarantines with the Lift button. The member then gets their roles back. Finally, mark each alert as Resolved or False positive.
Measures already applied stay in place.Ending raid mode does not cancel the kicks or mutes applied to new arrivals. A mute ends on its own when it expires.
Frequently asked questions
Does test mode prevent all measures?
It prevents automatic raid mode, the revocation of invites and the measures taken against suspicious arrivals. However, raid mode or panic mode enabled manually still applies its measures, as does automatic slow mode.
Why does the raid alert have no Quarantine and Ban buttons?
A raid alert does not target any particular member. These buttons only appear on alerts that target a member, such as a suspicious arrival, and only on a Premium server.