Anti-Raid protects your server from join raids, spam, suspicious accounts, and mass mentions. Only the server owner and designated antiraid admins can configure it. Use ,antiraid admin <user> (owner-only) to grant access.
| Command | Description |
|---|
,antiraid | Opens the antiraid help panel. |
,antiraid admin <user> | Toggle antiraid admin. Owner only. |
,antiraid admins | List antiraid admins. |
,antiraid whitelist <user> | Toggle whitelist (immune to all modules). |
,antiraid whitelisted | List whitelisted users. |
,antiraid logchannel [#channel] | Set or clear the raid log channel. |
,antiraid quarantinerole <@role> | Set the quarantine role for verification. |
,antiraid config | View all module settings. |
,antiraid history [page] | Paginated raid event history. |
,antiraid punishments [page] | Paginated punishment log. |
Protection modules
Each module can be turned on/off. Most accept a threshold, time window, and punishment action (warn, kick, ban, timeout).
| Command | Description |
|---|
,antiraid joinflood on/off [threshold] [window] [action] [lockdown:yes/no] | Detect mass joins and punish. Optional auto-lockdown. |
,antiraid accountage on/off [days] [action] | Punish accounts younger than X days. |
,antiraid avatarfilter on/off [action] | Punish default-avatar joins. |
,antiraid usernamefilter on/off | Enable username pattern filtering. |
,antiraid usernamefilter add/remove <pattern> | Add or remove username patterns. |
,antiraid massmention on/off [threshold] [action] | Punish messages with too many mentions. |
,antiraid msgspam on/off [threshold] [window] [action] | Punish repeated identical messages. |
,antiraid msgrate on/off [threshold] [window] [action] | Punish high message rate. |
,antiraid linkfilter on/off [invites:yes/no] [links:yes/no] [action] | Block invites and/or links. |
,antiraid capsfilter on/off [action] | Punish excessive caps. |
,antiraid verification on/off [min_account_days] | Quarantine new joins until verified. |
,antiraid slowmode on/off [threshold] [window] [seconds] [reset_after] | Auto slow-mode under raid load. |
,antiraid invitetracking on/off | Log which invite was used on join. |
Manual controls
| Command | Description |
|---|
,antiraid lockdown [duration_secs] | Lock the server manually. |
,antiraid unlock | Lift lockdown. |
,antiraid bulkban <id1> <id2> ... | Ban multiple user IDs at once. |
Anti-Raid and Antinuke work together. Use Antinuke for trusted-admin abuse (mass deletes) and Anti-Raid for join raids and chat spam.