AutoMod
AutoMod automatically detects and handles rule violations without moderator intervention.
Quick Start
Section titled “Quick Start”- Enable AutoMod:
/automod enable - View current settings:
/automod status - Toggle rules as needed:
/automod toggle <rule>
Spam Detection
Section titled “Spam Detection”Detects users sending too many messages too quickly.
/automod toggle spam/automod set spam messages 5 # Messages threshold/automod set spam seconds 3 # Time window/automod set spam action mute # Action to takeDuplicate Messages
Section titled “Duplicate Messages”Detects repeated identical messages.
/automod toggle duplicate/automod set duplicate threshold 3 # Number of duplicates/automod set duplicate seconds 60 # Time window/automod set duplicate action warn # Action to takeExcessive Caps
Section titled “Excessive Caps”Detects messages with too many capital letters.
/automod toggle caps/automod set caps threshold 0.7 # 70% caps threshold/automod set caps minLength 10 # Minimum message length/automod set caps action delete # Action to takeNew Account Detection
Section titled “New Account Detection”Flags accounts that are too new.
/automod toggle newAccount/automod set newAccount daysOld 7 # Minimum account age/automod set newAccount action log # Action to takeActions
Section titled “Actions”Each rule can have one of these actions:
| Action | Description |
|---|---|
delete | Delete the message |
warn | Issue a warning |
mute | Timeout the user |
kick | Kick the user |
ban | Ban the user |
log | Log only (no action) |
Exemptions
Section titled “Exemptions”Exempt roles or channels from AutoMod:
/automod exempt add role @Moderators/automod exempt add channel #bot-commands/automod exempt remove role @ModeratorsExempted roles/channels will not trigger AutoMod rules.
Raid Mode
Section titled “Raid Mode”Protect against join raids with automatic detection.
Manual Control
Section titled “Manual Control”/automod raidmode on # Enable immediately/automod raidmode off # Disable/automod raidmode auto # Auto-detect raidsAuto Mode
Section titled “Auto Mode”When set to auto, raid mode activates if too many users join in a short time:
- Default threshold: 10 joins in 10 seconds
- Automatically kicks new joins during raid mode
- Sends notification to mod log
- Auto-disables after cooldown period
During Raid Mode
Section titled “During Raid Mode”- New joins are automatically kicked
- Notification sent to mod log channel
- Server can optionally be locked down
Viewing Status
Section titled “Viewing Status”/automod statusShows:
- Whether AutoMod is enabled
- Status of each rule
- Current thresholds and actions
- Exempt roles and channels