Skip to main content

Configuring the antiraid system

Firstly, toggle on antiraid using the ,antiraid toggle on command.

Setting up antiraid modules

Antiraid is not like antinuke and can be edited by anyone with the administrator permission.
Antiraid consists of several modules that monitor join events to prevent raids.

Available Modules

Detects when a large number of members join your server in a short period.
  • Usage:
    ,antiraid massjoin (status) [flags]
    
    ,antiraid massjoin on --threshold 5 --do ban --lock true --punish true
    
Detects members joining with the default Discord profile picture.
  • Usage:
    ,antiraid avatar (status) [flags]
    
    ,antiraid avatar on --do kick
    
Detects members joining with accounts created very recently.
  • Threshold: Age in days (e.g., 3 days).
  • Usage:
    ,antiraid age (status) [flags]
    
    ,antiraid age on --threshold 8 --do ban
    
Detects and prevents mass mention raids from incoming members.
  • Usage:
    ,antiraid massmention [status] [flags]
    
    ,antiraid massmention on (flags)
    
This module is part of greed premium.
Prevents unverified bots from joining your server.
  • Usage:
    ,antiraid unverifiedbots [status] [flags]
    
    ,antiraid unverifiedbots on (flags)
    
This module is part of greed premium.
Filters members joining with specific username patterns.
  • Usage:
    ,antiraid username
    
    ,antiraid username
    
This module is part of greed premium.

Module Configuration

You can configure each module using the following commands:
,antiraid module [status]
,antiraid massjoin on
,antiraid (module) threshold (value)
,antiraid massjoin on --threshold 5
,antiraid (module) (status) (action)
,antiraid avatar on --do kick

Username Patterns

Username patterns are part of greed premium.
You can manage username patterns to block specific types of accounts from joining.
,antiraid username add (pattern)
,antiraid username add raid-bot-.*
,antiraid username remove (pattern)
,antiraid username remove raid-bot-.*
,antiraid username list
,antiraid username list
,antiraid username action (kick/ban)
,antiraid username action ban

Mass Mention

Configure thresholds for mass mention detection.
,antiraid (module) [status]
,antiraid massmention on flags]

Unverified Bots

Set actions for unverified bots trying to join.
,antiraid unverifiedbots [status] [flags]
,antiraid unverifiedbots on kick

state

If your server is under an active raid, you can use the lockdown command to quickly restrict access.
,antiraid state (status)
,antiraid state on

Whitelisting

You can whitelist specific users or roles from being affected by the antiraid.
,antiraid whitelist [user]
,antiraid whitelist @fe3murs
To remove an antiraid whitelisted , you simply use the same ,antiraid whitelist command.
,antiraid whitelist [user]
,antiraid whitelist @fe3murs