AutoMod
AutoMod checks every message for scams, spam, invite links, blocked words and risky files, and acts on its own with a warning, timeout, kick or ban.
What it does
#AutoMod checks every message members send, and edits made within 5 minutes of posting. Edits don't count toward Flood or Repeated Message Protection, and Attachment Safety and New Account Protection skip them (the message was already checked for those when it was sent). Bots are ignored. When a message breaks a rule, AutoMod:
- saves redacted evidence,
- deletes the message (if Delete violating messages is on, the default, unless the rule says Never; or if the rule says Always; see below),
- applies the rule's action: none, warn, mute (a timeout), kick or ban,
- posts "@member, AutoMod removed your message: reason." for 10 seconds (it says "flagged" instead of "removed" when the message wasn't deleted) (only if Reply in chat when a rule blocks something is on, unless the rule says Never; or if the rule says Always;
/setup's recommended protection turns it on, otherwise it's off). At most one reply goes out in a channel every 5 seconds; a message caught inside that gap is still deleted and punished, just without a reply, - sends an entry to your AutoMod log channel with the member, the action and the reason (see Logging setup).
AutoMod warnings are saved as cases (see Cases). AutoMod doesn't DM the member.
Before each step, AutoMod checks that Solara is able to do it. If it can't, it skips that step and tells you in the AutoMod log channel (see the question "AutoMod can't act" below).
The rules and their starting actions:
| Rule | Starts as |
|---|---|
| Scam Link Protection (known scam and phishing domains) | Ban; staff can't skip it while Always block dangerous scams and raids is on |
| Mass Mention Protection (5 or more mentions) | 30-minute mute |
| Flood Protection (6 messages in 4 seconds) | 10-minute mute |
| Repeated Message Protection (same message 3 times in 30 seconds) | Warn |
| Invite Link Protection, Caps Spam (messages of 25 or more characters that are mostly capitals), Emoji Spam, Zalgo And Unicode, Repeated Character, Format Spam, Attachment Safety (.exe, .bat, .js, .ps1 and similar files) | Warn |
| Blocked Words | Warn, using your word list |
| New Account Protection (accounts or members 3 days old or newer) | Off |
If a message breaks several rules, the most severe one decides what happens.
Moved over from the older AutoMod? Then the starter rules start off, apart from the ones your old settings had on. Check the Rules tab and switch on what you want.
Blocked words. You choose how words match (whole words, inside longer words, or with * wildcards), whether look-alike spellings like h3ll0 count, and an allowed-words list. Solara also has five built-in word lists, all off by default; see AutoMod word lists.
Staff and admins. Administrators always skip the normal rules. With Staff bypass on (the default), people with Kick Members, Ban Members or Timeout Members skip them too. Scam Link Protection still applies to everyone while Always block dangerous scams and raids is on (the default). Skipped messages leave no evidence and don't count toward the punishment ladder.
Exemptions. You can exempt a role, a channel, a category or a member from every rule or from one rule, on the Exemptions tab. Their messages skip the normal rules, but Scam Link Protection still applies to everyone. (The only exception is an old exemption that was saved to skip critical rules too; the list labels it Also skips critical rules.) A channel exemption covers threads in that channel, and a category exemption covers every channel in it. Changes apply from the next message.
Evidence is redacted. Evidence shows the rule, the action and the reason, plus a preview where links become [link], mentions become [mention] and most words become [text]. You get enough to moderate without the dashboard becoming a copy of your chat.
The punishment ladder. Each rule can step up for repeat offenders. Example: first violation, warn; after 3 violations, mute for 30 minutes; after 5, kick. AutoMod counts the member's violations of that rule in your server from the last 90 days, and uses the highest step they've reached. You can change how long a violation counts on the Settings tab with Violations count for: 7 days, 30 days, 90 days (the default), 180 days, 1 year, or Never expire. Once a violation is older than that, it stops counting, so a member whose violations have all run out starts again from the first step. A violation where AutoMod couldn't apply the punishment because of Solara's permissions or role position (the problems an "AutoMod can't act" notice describes) doesn't move the member up the steps. With no steps, the rule's base action is used every time.
Bans need your say-so. A normal rule set to ban (directly or on the ladder) mutes instead, unless you turn on Allow bans from normal rules. Only Scam Link Protection bans out of the box. A mute with no length set lasts 30 minutes.
Delete and reply, rule by rule. The Delete violating messages and Reply in chat when a rule blocks something switches on the Settings tab apply to every rule unless a rule says otherwise. On the Rules tab, each rule has Delete the message and Show a response, each with three options:
- Use the server setting (the default): follow the switch on the Settings tab. The line under the choice shows what that switch is now, for example "Server setting: on".
- Always: this rule always deletes the message (or always replies), whatever the switch says.
- Never: this rule never deletes the message (or never replies), whatever the switch says.
A rule with its own choice is tagged Custom delete, Custom response or Custom delete and response on the Rules and Protections tabs, and the Settings switches say how many rules override them ("2 rules override this."). Applying a preset puts every rule back to Use the server setting.
Invite links and allowed servers
#Invite Link Protection acts on Discord invite links, but not all of them:
- Your own server's invites always pass. Nothing to set up.
- Allowed servers pass too. On the Rules tab, Invite Link Protection has Allowed servers: paste any invite to a partner server and click Add server. Solara looks the invite up and adds the server by name; after that, any invite to that server passes, not just the one you pasted. Click the x next to a name to remove it. Like every rule change, the list is kept when you click Save changes. You can allow up to 25 servers.
- Everything else is acted on as before, including an invite Solara can't check (expired, unknown, or Discord didn't answer in time). A message with several invites passes only if every one of them is allowed, and a message with more than 3 different invites is always acted on.
Solara checks where an invite leads the first time someone posts it and remembers the answer for a few hours, so this doesn't slow AutoMod down. Presets and /setup's recommended protection keep your allowed servers.
What you'll see
- On the Rules tab, under Invite Link Protection: Allowed servers (2 of 25), a box for the invite link, an Add server button (it reads "Looking up..." while Solara checks), and each server's name with an x to remove it. After adding: "Server name added. Press Save changes to keep it."
- If the invite can't be used: "That isn't a Discord invite. Paste a link like https://discord.gg/example.", "That invite has expired or doesn't exist. Ask the server for a new one.", "That invite is for this server. Its own invites always pass, so it doesn't need adding.", "Server name is already on the list." or "You can allow up to 25 servers. Remove one first."
- In Test Rules, an invite always matches, with the note "(Test Rules can't follow invite links. When a member posts it, Solara lets through invites to this server and to your allowed servers.)"
Forgiving a false positive
#If AutoMod caught someone by mistake, you can stop it counting as a strike, so it doesn't move them up the punishment ladder:
- One entry: on the Activity & Evidence tab, click Not a violation on that row and confirm. Changed your mind? Click Count it again.
- All of a member's strikes: use
/clearstrikes @member. It clears every AutoMod strike that member has in your server, for every rule.
Forgiving only changes the strike count. It doesn't lift a timeout, unban anyone or bring back a kicked member; do that yourself if it's needed. The entry stays in the evidence list, marked as forgiven.
What you'll see
- Activity & Evidence: a Strike column with Not a violation on each row (hover: "Stops this counting as a strike. Doesn't lift a timeout, kick or ban."). Clicking it asks "Mark this as not a violation? It will stop counting toward the member's strikes. Any timeout, kick or ban already given stays in place." A forgiven row's outcome starts with Not a violation ("doesn't count as a strike"), and its button reads Count it again.
/clearstrikes @memberreplies privately "Strikes cleared: Cleared 3 AutoMod strikes for @member. They no longer count toward the punishment ladder. Timeouts, kicks and bans already given stay in place.", or "No strikes to clear: @member has no AutoMod strikes in this server."
Raid Mode
#Raid Mode is for a raid: lots of new accounts joining at once to spam your server. While it's on, for a set time (30 minutes to start with):
- AutoMod is stricter. Mass Mention Protection triggers at 3 mentions (or your own trigger point if it's lower) and Flood Protection triggers at half your trigger point (never below 2 messages). Raid Mode doesn't switch any rule on or off: if you switched Mass Mention or Flood Protection off, they stay off, and New Account Protection keeps your own setting. New accounts are handled by the join hold below; members who are already in your server post normally. Your saved rules aren't changed; they come back when Raid Mode ends.
- New accounts are held as they join. Anyone who joins with an account New-account age days old or newer (7 to start with) is timed out until Raid Mode ends, or kicked if you chose that. Older accounts and bots join normally. The audit log reason is "Raid Mode: new account joined during a raid".
It starts by itself on a join spike (10 members joining within 60 seconds, to start with), unless you switch Start automatically on a join spike off. It won't start by itself again until 10 minutes after the last raid ended. You can also start it by hand with /raidmode start or Start Raid Mode on the dashboard. Starting it while it's already on changes nothing; the end time stays the same.
It needs AutoMod on. If AutoMod is off (Mode is Off, or the AutoMod switch is off), Raid Mode never starts by itself, and starting it by hand says "AutoMod is turned off on this server. Turn it on before starting Raid Mode."
Alerts. When it starts, Solara posts "Raid Mode is on" in your AutoMod log channel with how it started ("Started automatically: 14 joins in 60 seconds", "Started by name on the dashboard" or "Started by name with /raidmode"), when it ends, what happens to new accounts, and an End Raid Mode button. The button works for anyone allowed to use /raidmode end; anyone else gets a private "You can't end Raid Mode".
When it ends (its time runs out, or someone uses /raidmode end, the End Raid Mode button or the dashboard), AutoMod goes back to your normal rules and Solara removes the timeouts it gave. If a moderator gave a held member a different or longer timeout in the meantime, Solara leaves that one alone. Kicked members aren't brought back. Solara then posts "Raid Mode ended" in the AutoMod log channel: who ended it (or "Ended when its time ran out."), how long it lasted, who was timed out or kicked, and anyone Solara Couldn't hold, with the reason (for example, that it needs the Moderate Members or Kick Members permission). If Solara was offline when the time ran out, the timeouts still end on time, and Solara posts the summary once it's back.
Commands
#AutoMod has two commands: /raidmode (see Raid Mode) and /clearstrikes (see Forgiving a false positive):
| Command | What it does |
|---|---|
/raidmode status (or ?raidmode) | Shows whether Raid Mode is on. When it's on: when it ends, how it started and how many members were timed out, kicked or couldn't be held. When it's off: whether it starts automatically. |
/raidmode start | Starts Raid Mode now for your Raid length and says when it ends. If it's already on, it says so and when it ends. |
/raidmode end | Ends Raid Mode now and releases the members Solara timed out. |
/clearstrikes <member> (or ?clearstrikes @member) | Clears all of a member's AutoMod strikes in your server and says how many. Timeouts, kicks and bans already given stay in place. |
For everything else, run /setup and pick AutoMod, then Turn on recommended protection (it reads Reset to recommended when AutoMod is already on), to switch on the starting rules shown above. It replaces your AutoMod settings but keeps your blocked words, allowed servers, exemptions and ladder steps. It also turns on Reply in chat when a rule blocks something, so members are told why in the channel. Everything else is on the dashboard, including presets that change only the rule settings (see below).
On the dashboard
#The AutoMod page has these tabs (the Guide button opens this page):
- Overview: protection status (the Raid Mode tile reads On or Off), messages checked and actions in the last 24 hours, a chart of actions per hour ("No AutoMod actions in the last 24 hours" when there were none), the Raid Mode card, recent activity, most common issues (the rules that acted most in the last 24 hours) and quick actions. Current Risk is High while Raid Mode is on or a high-severity incident is open, Elevated when any incident is open or a critical rule such as Phishing acted in the last 24 hours, and Low otherwise; the reason shows under it. Recommendations come from your settings: "Turn on ..." for each key protection that's off, "Review your imported settings" after an import that needs a look, and "Check whether ... is too strict" when one rule caused more than half of 10 or more actions in a day. With none of those it says "Nothing to recommend right now." When Raid Mode is off, the card says how long it lasts and when it starts by itself, with a Start Raid Mode button that asks first ("Start Raid Mode for 30 minutes?"). When it's on, the card says "Raid Mode is on until time", how it started and how many members were held or kicked, with an End Raid Mode button. After you click it, the button reads "Ending Raid Mode..." until Solara ends it; if the bot is offline, the raid still ends at its set time.
- Recent Incidents: a list of things AutoMod saw happen to your server as a group. A wave is one rule acting on 3 or more different members within 10 minutes (for example, 3 people tripping the same spam rule). A raid incident is one Raid Mode run, and it counts the members Raid Mode held. A wave closes after 30 quiet minutes with no new hits, and a raid incident closes when Raid Mode ends. While an incident is open, Current Risk goes up: any open incident makes it Elevated, and a high-severity one (or Raid Mode being on) makes it High.
- Settings: Mode (On or Off), Staff bypass (Staff skip normal rules, or No one skips), and the switches Delete violating messages, Reply in chat when a rule blocks something, Always block dangerous scams and raids and Allow bans from normal rules, and Violations count for (how long a past violation keeps a member on a rule's punishment ladder; 90 days to start with, see The punishment ladder). Off stops all AutoMod checks. Under the delete and reply switches, "Individual rules can override this." (see Delete and reply, rule by rule). Each change saves straight away, and the controls are greyed out while it saves. If a save fails, the page says "AutoMod settings did not save." and the control goes back to what's saved. The Raid Mode panel below them has its own Save changes and Discard:
- Start automatically on a join spike (on to start with),
- Join spike: Joins (3 to 100; 10 to start with) and Within (seconds) (10 to 600; 60 to start with),
- Raid length (minutes) (5 to 1440, which is 24 hours; 30 to start with),
- New-account age (days) (1 to 90; 7 to start with),
- What happens to new accounts: Time them out until the raid ends (the default) or Kick them.
- Protections: quick on/off cards for Scam Link, Invite Link, Mass Mention, Attachment Safety, New Account and Zalgo protection, with their mute lengths.
- Rules: every rule's Enabled switch, Base action, Severity, Trigger point, Within (seconds) for flood and repeated messages, Minimum message length for Caps Spam (it only checks messages at least this many characters long; blank means 10), Allowed servers for Invite Link Protection (see Invite links and allowed servers), Mute length (minutes), Delete the message and Show a response (each Use the server setting, Always or Never), and its Punishment Ladder (Add step, then After violations, Action and Mute minutes; a line under the heading says how long violations count, for example "Only violations from the last 90 days count"). Blocked words are edited here too. Changes wait until you click Save changes, and the page asks before you leave with unsaved changes.
- Exemptions: the list of exemptions, each with its target (like @Role, #channel or a category name; "Unknown role" if it was deleted in Discord), its type, All rules or the one rule it covers, the note, who added it (as a user ID) and when, and a Remove button. Under the list, Add exemption: pick the Type (Role, Channel, Category or Member (user ID)), pick the target from your server or paste a user ID, choose All rules or one rule in Rule, add an optional Note (up to 200 characters) and click Add exemption. Adding the same target and rule again just updates the note.
- Activity & Evidence: the latest 50 entries with the rule, member, channel, action, outcome, reason, redacted preview and time. Outcome says what actually happened: "Message deleted", "Timeout applied", "Warning given", "Member kicked" or "Member banned" when it worked; "Couldn't delete the message", "Couldn't time out the member", "Timeout failed" or "Reply not posted" with the reason when it didn't (for example "Solara needs Manage Messages in that channel"); "not confirmed" when Discord didn't answer and may have done it anyway. Entries from before 5 December 2026 show the outcome without a reason. Not a violation on each row stops it counting as a strike (see Forgiving a false positive).
- Presets: Balanced Protection (the same rule settings as
/setup's recommended protection), Strict Security (Balanced plus New Account Protection on, flagging accounts 7 days old or newer and members who joined in the last 7 days), Community Friendly (Balanced with Caps Spam off and Emoji Spam's trigger point raised to 18) and High Alert (Strict Security plus Mass Mention Protection triggering at 3 mentions and Flood Protection at 3 messages, for servers that keep getting targeted). Preview preset lists every change against your current settings (for example Caps Spam Protection, "Switched: on -> off"), then Apply preset makes them (or Cancel). If nothing would change it says "No changes: your settings already match." If you have unsaved changes on the Rules tab, it warns "You have unsaved rule changes. Applying this preset replaces them." Applying a preset also resets each rule's own delete and response choices to Use the server setting, and sets Caps Spam's Minimum message length to 25. After applying, the page reloads and says, for example, "Strict Security applied". - Test Rules: type a Message, optionally pick a Channel and the Sender's roles (up to 25), set Account age (days) (30 if blank), and click Test. The result says what Solara would do ("Nothing would happen", "Solara would warn", "Solara would mute for 30 minutes", "Solara would delete the message and ban" and so on, or "Rules matched, but their action is set to None." when a matching rule's action is None and it doesn't delete the message), lists each rule that matched and why, and any rule an exemption skipped. It uses your saved settings, and nothing is recorded or sent to Discord. While Raid Mode is on, it tests with Raid Mode's stricter rules and says "Raid Mode is on: stricter rules are being used."
If you used Solara's older AutoMod, a notice says Imported settings need review. Check the rules marked "Imported from old AutoMod", then click Mark reviewed.
Who can use it
#- The AutoMod page: people who manage Moderation. That's the owner, Administrators, anyone with Manage Server, and anyone given "Manage Moderation".
/setup: Manage Server to start with./raidmodeand the End Raid Mode button: Manage Server, Ban Members or Kick Members to start with. The owner and Administrators always can./clearstrikes: Manage Messages, Ban Members or Kick Members to start with (the same people who can warn or time out). The owner and Administrators always can. On the dashboard, Not a violation is for anyone who can use the AutoMod page.
Solara needs Moderate Members to time out new accounts during a raid, or Kick Members if you chose to kick them.
You can switch AutoMod off on its own with the Moderation module's AutoMod switch (see Modules and switches), and change who manages it with rules (see Permissions).
Common questions
#Normal members keep getting caught. Open Activity & Evidence to see which rule fires, then raise that rule's trigger point or lower its action on the Rules tab, rather than switching AutoMod off.
Missed spam. Check that Mode is On, the rule is on, the sender isn't staff or an Administrator (they skip normal rules), and no exemption covers them or the channel. Test Rules shows which exemption skipped a rule.
Can I trust a role or a channel? Yes: add an exemption on the Exemptions tab for all rules or just one. Exemptions brought over from the older AutoMod show in the same list. Exemptions you add never switch off Scam Link Protection, and Staff bypass already covers moderators.
How far can I trust Test Rules? It runs your server's real, saved rules (unsaved changes on the Rules tab don't count), your blocked words, the same scam-link list the bot uses, and your exemptions. A few things differ from a real message:
- The sender is treated as a regular member, never staff or an Administrator, so Staff bypass doesn't apply. Their roles only matter for exemptions.
- The sender is treated as a first offence, so it shows the rule's base action, or a ladder step set for 1 violation.
- It tests one message with no attachments, so Flood Protection and Repeated Message Protection won't match unless their trigger point is 1, and Attachment Safety never matches.
- If AutoMod is switched off, it always says "Nothing would happen" with the reason underneath: "AutoMod is turned off on this server (Settings, Mode)." or, when AutoMod was never set up, "AutoMod hasn't been set up on this server yet. Run /setup first."
The AutoMod log says "AutoMod can't act". Before AutoMod deletes a message, replies or punishes someone, it checks that Solara has the permission it needs and, for a timeout, kick or ban, that Solara's highest role is above the member's. If not, it skips that step and posts an "AutoMod can't act" notice in your AutoMod log channel saying what's missing and how to fix it, for example "AutoMod couldn't delete a message in #general because Solara doesn't have the Manage Messages permission there." Common causes: Solara is missing Manage Messages or Send Messages in a channel, the member owns the server, the member is an Administrator being timed out (Discord doesn't allow it), or the member's highest role is at or above Solara's. You get at most one notice an hour for each problem. If the AutoMod log is off or has no channel, no notice is posted. Either way, the dashboard's Activity & Evidence tab shows each entry's outcome and why a step failed.
What to do when Solara can't act. Run /setup and open AutoMod: if Solara's roles are missing Manage Messages (deleting), Moderate Members (timeouts) or Ban Members (the scam-link ban), it lists each one, for example "I can't delete messages: I need the Manage Messages permission.", and the panel's AutoMod line shows ⚠️ instead of ✅. Give Solara's role those permissions in Server Settings > Roles, and keep Solara's role above the roles it should moderate. /setup checks server-wide permissions only: a channel's own permission settings can still block Solara there, so if the Evidence tab still shows failures in one channel, check that channel's permissions for Solara.
Do violations count forever? No. A violation counts toward a rule's punishment ladder for 90 days to start with. Change it on the AutoMod page's Settings tab with Violations count for: anything from 7 days to 1 year, or Never expire. When a member's violations are all older than that, they start again from the first step. A violation where AutoMod couldn't apply the punishment because of Solara's permissions or role position (the problems an "AutoMod can't act" notice describes) doesn't move the member up the steps.
Why does the reply say AutoMod "flagged" my message? The message wasn't deleted, either because message deletion is off for that rule or because the delete couldn't happen. The reply says "removed" only when the message is really gone.
Raid Mode or a lockdown? Raid Mode holds new accounts and tightens AutoMod but leaves chat open. A lockdown closes channels for everyone. Use both for a bad raid.
Start Raid Mode said "The last raid is still being closed. Try again in a moment." The last raid's time has just run out, and Solara closes it (removes its timeouts and posts the summary) within about 30 seconds. Click Start Raid Mode again after that.
Raid Mode didn't start on its own during a join spike. Check that AutoMod is on, Start automatically on a join spike is on, the joins really reached your Join spike setting, and the last raid ended more than 10 minutes ago.
Where did Mode's "raid" option go? It never changed anything, so it's gone, along with the old Enable Raid Mode quick action. Servers left on it went back to On. Use the Raid Mode card instead.
What does a preset change? Only rule settings: each rule's on/off switch, action, severity, trigger point and mute length. Your blocked and allowed words (and how they match), built-in word lists, allowed servers, exemptions, flood and repeated-message time windows and punishment ladders stay. So do Mode and the switches on the Settings tab. Each rule's own Delete the message and Show a response choices go back to Use the server setting. Applying the same preset twice is harmless; the second preview shows no changes.
Applying a preset says "AutoMod hasn't been set up on this server yet." The full message is "AutoMod hasn't been set up on this server yet. Run /setup first, then apply a preset." Run /setup, pick AutoMod and turn on recommended protection, then come back to the Presets tab.
High Alert or Raid Mode? High Alert changes your saved rules and stays until you change them or apply another preset. Raid Mode tightens the same two rules only while a raid is on, and also holds new accounts as they join. Use High Alert if your server keeps getting targeted, and Raid Mode for a raid happening now. They work together: with High Alert applied, a raid keeps mentions at 3 and drops Flood Protection to 2 messages.
Where did the Raid Defense preset go? It became High Alert. The old version tried to switch on a "raid" mode that no longer exists; High Alert changes only rule settings, like the other presets.
