Anti-Raid
The anti-raid system detects and responds to coordinated join attacks. It monitors join patterns, account ages, and suspicious behavior to keep your server safe from raids.
Commands
| Command | Description | Usage |
|---|---|---|
/antiraid setup | Run the interactive anti-raid setup wizard | /antiraid setup |
/antiraid settings | View the current anti-raid configuration | /antiraid settings |
/antiraid disable | Disable the anti-raid system | /antiraid disable |
Dashboard Configuration
Configure anti-raid from the Security section of the dashboard.
Join Rate Limits
Set the maximum number of members that can join within a time window. If the limit is exceeded, the system activates and begins taking protective action.
Example: Allow no more than 10 joins in 30 seconds. If exceeded, trigger anti-raid.
Account Age Requirements
Block or flag accounts that are younger than a specified age. This is effective against raids that use freshly created accounts.
| Setting | Description |
|---|---|
| Minimum Account Age | Accounts younger than this are flagged (e.g., 7 days) |
| Action | What happens to flagged accounts: kick, ban, or quarantine |
Verification
Require new members to complete a verification step before gaining access to the server.
Features
Auto-Lockdown on Mass Joins
When the join rate limit is exceeded, MJ Bot can automatically lock down the server. During lockdown:
- New members cannot send messages in any channel
- Join notifications are suppressed
- The server owner and admins are notified
Auto-lockdown is lifted automatically after a configurable cooldown period, or manually by an admin using /unlock or through the dashboard.
Captcha Verification
Enable captcha verification to require new members to solve a challenge before gaining access. This blocks automated bot accounts that cannot complete the captcha.
The verification flow:
- New member joins and sees only a verification channel
- MJ Bot sends a captcha image via DM or in the verification channel
- The member solves the captcha and is granted access
- Members who fail or ignore the captcha are kicked after a timeout
Captcha verification is highly effective against bot raids. Combine it with account age requirements for maximum protection.
Suspicious Account Detection
MJ Bot flags accounts that match common raid bot patterns:
- No profile picture
- Default username patterns
- Account created within the last few hours
- Joining immediately after creation
Flagged accounts can be automatically kicked, banned, or quarantined into a restricted role for manual review.
Suspicious account detection is heuristic-based and may occasionally flag legitimate new users. Consider using a quarantine role instead of an immediate ban so real users can still appeal.