/antiraid
The Anti-Raid system automatically detects and stops raids before they can damage your server. This command lets you view the status, configure rules, apply presets, and test the system.
π Premium Feature β This command requires a premium subscription.
Subcommands
/antiraid statusβ View system status/antiraid configβ View current settings/antiraid setβ Modify a specific rule/antiraid presetβ Apply a preset configuration/antiraid testβ Test the system
/antiraid status
View the current Anti-Raid system status.
/antiraid status
Shows:
- System enabled/disabled status
- Bot permissions check (Manage Server, Ban Members, Moderate Members)
- Alert channel configuration
- Protected areas with their thresholds
- Automatic response settings
/antiraid config
View all Anti-Raid rule configurations.
/antiraid config
Shows a detailed overview of all rules with their:
- Threshold count
- Time window
- Action taken when triggered
- Severity level
/antiraid set
Modify a specific Anti-Raid rule.
/antiraid set <rule> <count> <window_seconds>
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
rule | Choice | β | The rule to modify |
count | Number | β | Threshold count (min: 1) |
window_seconds | Number | β | Time window in seconds (min: 0) |
Available Rules
| Rule | Description |
|---|---|
| Join Flood | Mass-join detection |
| Message Spam | Rapid message spam |
| Mass Mention | Excessive mentions in messages |
| Channel Spam | Rapid channel creation/deletion |
| Role Spam | Rapid role modifications |
| Emoji Spam | Emoji abuse detection |
| Webhook Spam | Webhook abuse detection |
| Invite Spam | Invite link spam |
| Bot Add | Unauthorized bot additions |
| Permission Change | Suspicious permission modifications |
Example
/antiraid set Join Flood 5 10
Triggers when 5 users join within 10 seconds.
/antiraid preset
Apply a pre-made configuration for all rules at once.
/antiraid preset <mode>
Modes
| Mode | Description |
|---|---|
| Relaxed | Higher thresholds, longer time windows β fewer false positives |
| Normal | Balanced settings for most servers |
| Strict | Lower thresholds, shorter time windows β maximum protection |
/antiraid test
Test the Anti-Raid system to make sure everything is working.
/antiraid test <type>
Test Types
| Type | Description |
|---|---|
| Alert Channel Test | Sends a test message to the configured alert channel |
| DM Notification Test | Sends test DMs to Anti-Raid subscribers |
| Full Diagnostics | Checks bot permissions, role hierarchy, alert channel, and DM subscribers |
Note: Test commands are rate-limited to prevent abuse.
Required Permissions
- Discord permission: Manage Server
- R&V permission level: Administrator