All Documentation
πŸ”’πŸ’Ž Anti-Raid system management β€” protect your server from raids.

/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

ParameterTypeRequiredDescription
ruleChoiceβœ…The rule to modify
countNumberβœ…Threshold count (min: 1)
window_secondsNumberβœ…Time window in seconds (min: 0)

Available Rules

RuleDescription
Join FloodMass-join detection
Message SpamRapid message spam
Mass MentionExcessive mentions in messages
Channel SpamRapid channel creation/deletion
Role SpamRapid role modifications
Emoji SpamEmoji abuse detection
Webhook SpamWebhook abuse detection
Invite SpamInvite link spam
Bot AddUnauthorized bot additions
Permission ChangeSuspicious 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

ModeDescription
RelaxedHigher thresholds, longer time windows β€” fewer false positives
NormalBalanced settings for most servers
StrictLower thresholds, shorter time windows β€” maximum protection

/antiraid test

Test the Anti-Raid system to make sure everything is working.

/antiraid test <type>

Test Types

TypeDescription
Alert Channel TestSends a test message to the configured alert channel
DM Notification TestSends test DMs to Anti-Raid subscribers
Full DiagnosticsChecks 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