Sets the server's raid mode level by hand. Discord shows the command only to members with Manage Server by default, but the bot requires the Administrator permission ("Administrator permission required."). The command description says owner only; any Administrator can in fact run it. The bot also checks Command Access rules and that the Moderation service is enabled ("Sentinel is not enabled for this server."). While an anti-nuke panic lockdown is on, only the server owner and the anti-nuke exempt users and roles can change the level, including to off.
The levels: soft sets a 10 second slowmode on every text channel. hard sets a 30 second slowmode, applies the raid join action to every new join (quarantine unless the server chose kick or ban), and sends every Administrator a "Raid Alert" DM. lockdown raises the verification level to the highest setting, denies Send Messages for @everyone in every text channel except the service's own log channels, kicks every new join, and sends every Administrator a "LOCKDOWN" DM. off puts back the slowmode each channel had, the channel permissions a lockdown changed, and the earlier verification level.
The first activation remembers the pre-raid state; moving between levels keeps that snapshot. The reply is "Raid mode set to hard." A "Raid Mode: HARD" card with the reason ("Manual command"), who triggered it and the auto-off time goes to the moderation log channel, and a "Raid Mode Deactivated" card when it is turned off.
Good to know
- Raid mode also turns itself on: hard mode when joins per minute reach the threshold on the Settings page, or when a look-alike join raid is detected. It turns itself off after the auto-deactivate minutes on the Settings page (30 by default; 0 keeps it on until someone turns it off).
- The dashboard Overview page has the same controls.
- /lockdown joins is a lighter alternative: it switches hard mode on and remembers to switch it off again.