Overview
Antiraid watches who’s coming through the door. It’s built around three independent modules — run all of them, or just the ones that fit your server.Every command here requires the Manage Server permission.
Flags
Antiraid uses$ flags. They go after the on/off toggle, in any order.
Mass join detection
Triggers when too many accounts join in a short burst — what an actual raid looks like from the server’s side.Syntax
Example
The threshold is measured per 10 seconds. A threshold of 10 means ten joins inside that window sets the module off.
Lockdown
When$lock is on, hitting the threshold puts the server into lockdown and closes your text, voice, forum, and thread channels. Turning $punish on extends that to anyone who slips in while the lockdown is active.
Lockdown doesn’t lift on its own. To end it:
,antiraid state does the same thing.
The lockdown survives restarts — misery remembers every channel it locked and restores each one exactly as it was.
Avatar requirement
Catches accounts that join without a custom avatar, a common giveaway for throwaway alts.Syntax
Example
Account age
Blocks accounts created too recently to be trusted.Syntax
Example
The threshold is in days. Set it to 7 and any account younger than a week gets punished on join.
Whitelisting members
Whitelisted members skip antiraid checks entirely.Syntax
Example
This command toggles. Running it on someone already whitelisted removes them.
,antiraid whitelist view.
Logging
Send antiraid’s actions to a channel:Syntax
Example
