-
Notifications
You must be signed in to change notification settings - Fork 0
AutomodPlus
🌐 English · Deutsch
AutomodPlus adds anti-spam, anti-raid and a regex word filter on top of Red's built-in moderation — 8 configurable rules (flood, duplicates, mentions, emoji, invites, links, attachments, ALL-CAPS), join-surge detection with lockdown, and per-rule actions. Opt-in per guild (all rules start disabled). Bilingual (DE/EN), with Web Dashboard integration. Author: pd-codes · requires Red 3.5.0+ · Status: Alpha 0.1.0.
[p]repo add PDC https://github.com/pd-codes/PDC_Redbot_Cogs
[p]cog install PDC automodplus
[p]load automodplus
[p]slash sync
All commands live under automodplus (alias amp) and require Admin or Manage Guild.
| Command | What it does |
|---|---|
automodplus status |
Show all rules with state, action and thresholds. |
automodplus logchannel [#channel] |
Set (or clear) the action log channel. |
automodplus language <de|en> |
Set the output language. |
automodplus exemptmods <on/off> |
Toggle the global mod/admin exemption (default: on). |
automodplus rule enable/disable <rule> |
Toggle a rule (flood, duplicate, mentions, emoji, invites, links, attachments, caps). |
automodplus rule action <rule> <action> [timeout_min] |
Set the action: delete / warn / timeout / kick / ban. |
automodplus rule threshold <rule> <count> [seconds] |
Set count and (where applicable) window seconds. |
automodplus rule exemptrole/exemptchannel <rule> <add/remove> <role/#channel> |
Per-rule exemptions. |
automodplus capsratio <percent> |
ALL-CAPS trigger ratio (e.g. 80). |
automodplus inviteallow <add/remove/list> [code] |
Invite allowlist. |
automodplus linkmode <block/allow> · automodplus linkdomain <add/remove/list> [domain]
|
Link filter mode + domain list. |
automodplus regex add <action> <timeout_min> <pattern> · regex remove <nr> · regex list
|
Regex word filter (max 50 patterns). |
automodplus raid enable/disable · raid threshold <joins> <seconds> · raid action <alert/lockdown/kick>
|
Join-surge detection. |
automodplus raid alertchannel [#channel] · raid lockdownchannel <add/remove> <#channel> · raid duration <min>
|
Raid alert/lockdown settings. |
automodplus lockdown [minutes] · automodplus unlock
|
Manually start/lift a lockdown (bot needs Manage Channels). |
Each rule is individually configurable (toggle, thresholds, action, exempt roles/channels): message flood and attachment spam (X messages per Y seconds per user), duplicate messages (content is SHA-256 hashed, never stored raw), mention spam and emoji spam (max per message), invite links (with allowlist), external links (block or allow-only domain list), and ALL-CAPS ratio. The regex filter matches per-pattern actions with safety limits (200 chars, 50 patterns, 0.1 s timeout per pattern). On a hit the message is deleted and the rule's action runs: delete, warn (temporary notice), timeout, kick or ban.
Anti-raid watches for join surges (default 8 joins/30 s) and responds with alert (message to the alert channel), lockdown (removes @everyone send permission in the configured channels — or all, capped at 50 — and auto-unlocks after the set duration) or kick (kicks new joins for the duration of the raid window).
Bots, the server owner and (by default) mods/admins are exempt; the bot never actions anyone at or above its top role. All detection state lives purely in memory — nothing is persisted. Actions are logged to the log channel and forwarded to the AdminProtocol cog when loaded.
Under Guild Settings there are three admin panels: AutoModPlus — General (log channel, mod/admin exemption, language), AutoModPlus — Rules (per-rule toggle, action, count and seconds for all 8 rules) and AutoModPlus — Anti-raid (enabled, joins/seconds threshold, action, alert channel, duration). A small AutoModPlus rules KPI widget shows how many rules are enabled (e.g. 3/8).
PDC_Redbot_Cogs · GitHub · Issues · Web Dashboard · Built for Red-DiscordBot · 🌐 English / Deutsch
🇬🇧 English
General
Cogs
Engagement & Utility
- Birthday
- StatChannels
- ScheduledMsg
- EventLog
- SocialFeed
- Giveaway
- Leveling
- TempVoice
- Starboard
- Suggestions
- LiveAlerts
Moderation
Fun
Web Dashboard
🇩🇪 Deutsch
Allgemein
Cogs
Engagement & Utility
- Birthday
- StatChannels
- ScheduledMsg
- EventLog
- SocialFeed
- Giveaway
- Leveling
- TempVoice
- Starboard
- Suggestions
- LiveAlerts
Moderation
Fun
Web-Dashboard