AutoMod Rules

Create automated moderation rules that detect and act on unwanted messages. Configure a trigger type, choose an action, set advanced exemptions and cooldowns, and simulate the rule against sample messages before going live.

Open AutoMod
Arkanis AutoMod

Set up automated moderation rules that detect and act on unwanted messages. Configure triggers, actions, exemptions, and cooldowns, and simulate before going live.

What is this?

AutoMod is a set of automatic rules that catch unwanted messages before a moderator has to. Each rule has a trigger (the pattern it watches for) and an action (delete, warn, mute, or post a notice). You build rules one at a time and preview each one against a sample message before going live.

Why you might want it

If you spend any time deleting obvious spam, link bombs, or repeated emoji walls by hand, AutoMod hands that work back to you. Most servers cover their basics with three rules. You stay in charge. The rule decides what counts as a match; you decide what happens when it matches.

Setup time: about a minute per ruleDifficulty: Easy. Most users get through it first try.
Happy path

What this is for

Catching the spam, slurs, link bombs, and emoji walls your moderators are deleting by hand, and handing the work back to the bot. Each rule pairs one trigger with one action and is simulator-tested before going live.

Before you start

  • ·The setup wizard has run on this guild (AutoMod is unlocked once setup completes).
  • ·The bot has the Manage Messages permission in any channel you want rules to fire in.
  • ·For mute, strike, warn, or ban actions: your guild is on Pro. Free tier only allows the delete action.
  • ·You have a rough idea what you want to catch (e.g. "block slurs", "no invite links", "mention spam").

5-minute setup

  1. 1Open the dashboard → Arkanis AutoMod and click Create Rule.
  2. 2Pick one trigger card (word filter, regex, spam, mention spam, caps, link, invite, duplicate, emoji, attachment).
  3. 3Pick one action (delete, warn, mute, strike, or ban). Set severity / duration as needed.
  4. 4Set the rule to Log Only mode for now. Save.
  5. 5Open Simulate Rule, paste a positive sample and a negative sample, confirm both behave correctly.
  6. 6Flip the rule to Live. It now acts on real messages.

Common failure modes

  • Rule never fires on real messages
    The target channel is on the Exempt Channels list, the offender holds an Exempt Role, or the bot is missing the message_content intent. Check the rule's Advanced tab first, then confirm in Settings → Bot Health that intents are enabled.
  • False positives on legitimate messages
    Word boundary is off (set it on so “assassin” doesn't match “ass”), or you need an allowlist word. Use the simulator with the false-positive text and tune until it returns “No match”.
  • Save fails with "this action requires Pro"
    You picked mute, strike, warn, or ban on a free-tier guild. Either switch the action to delete or upgrade. Existing Pro-tier rules degrade to delete if the guild loses Pro; the message is still removed but no enforcement record is created.
  • Rule fires constantly and floods the log channel
    Pattern is too loose. Switch the rule to Log Only, watch the matches in the Event Log for an hour, tighten the pattern, then flip back to Live. Per-user and per-channel cooldowns also dampen noisy rules.
The full rule builder walkthrough, every trigger type with its config, the simulator, and exemption rules are documented below.

Filter Types

Getting Started

Dashboard Preview
Arkanis AutoModLOG ONLY3 RULES
Automated content moderation. Rules run in log-only mode by default.
Event LogRulesSimulate
AllPendingConfirmedFalse Positive
No automod events yet
Events will appear here when rules trigger on messages.
1

Open Arkanis AutoMod

From the dashboard sidebar, click Arkanis AutoMod. The page lists every rule with status (Enabled/Disabled), trigger type, action, mode, and recent-match count. If you haven't built any rules yet, an empty state offers a prompt to create your first.

2

Understand Rule Limits

The number of rules you can create depends on your plan:

Free Tier

Up to 3 rules. Enough for most small servers to cover the essentials.

Pro

Unlimited rules with the full action suite for larger communities.

Pro
Need more than 3 rules? Upgrade to Pro for unlimited AutoMod rules.
ℹ️
Note
When AutoMod evaluates messages. Every new message is scanned the moment it is sent. Every edit that changes the message content is re-scanned against the same rules. Edits that only change the embed (e.g. the bot resolving a link preview) do not re-trigger evaluation. The same actions apply in both cases. Audit-log entries triggered by an edit are marked accordingly so reviewers can distinguish them from send-time matches.

1. Basic Info

3

Click Create Rule

Click Create Rule at the top of the AutoMod page to open the rule builder. The builder is organized into four sections: Basic, Trigger Type, Action Type, and Advanced.

4

Fill in the Basics

  • Rule Name — Max 100 characters. Use something descriptive like "Block Slurs" or "No Invite Links"
  • Description — Max 500 characters. Optional context for other staff
  • Priority — Numeric. Higher priority rules evaluate first when a message could match multiple
  • ModeLog Only records matches without taking action, Live applies the configured action
  • Enabled — Toggle on/off without deleting the rule
💡
Tip
Start new rules in Log Only mode for a few days. Watch the matches and tune the pattern before switching to Live so you don't punish users on a false positive.

2. Trigger Type

Pick one of ten trigger cards. Each trigger has its own configuration options shown inline after selection.

5

Word Filter

Matches messages that contain banned words or phrases. Options:

  • Preset packages — Hate speech, Harassment, Sexual explicit, NSFW, Profanity. Check any combination
  • Allow swearing toggle to keep general profanity but block targeted hate
  • NSFW server toggle to relax content rules appropriately
  • Custom words list — Add your own words or phrases
6

Regex Filter

Matches a list of regular expressions. A Test Input field lets you paste a sample message and see if it matches before saving, which catches broken patterns early.

7

Spam Detection

Fires when a user sends too many messages too quickly.

  • Max messages — Default 5
  • Window seconds — Default 10
8

Mention Spam

Triggers when a single message contains too many mentions.

  • Max mentions — Default 5
9

Caps Spam

Flags messages that are mostly uppercase.

  • Min length — Default 8 (messages shorter than this are ignored)
  • Max percent — Default 70 (the percentage of characters that can be uppercase before the rule fires)
10

Link Filter

Controls which URLs are allowed.

  • Block all links toggle for a total blackout
  • Blocked domains list for specific bans
  • Allowed domains list for an allowlist-only approach
11

Invite Filter

Blocks all Discord invite links. No additional configuration needed.

12

Duplicate Message

Triggers when a user repeats the same message too often.

  • Max duplicates — Default 3
  • Window size — Default 10 messages
13

Emoji Spam

Fires when a message contains too many emojis.

  • Max emojis — Default 10
14

Attachment Spam

Fires when a message contains too many file attachments.

  • Max attachments — Default 5

3. Action Type

Choose what happens when the rule matches. Pick one of five actions.

15

Delete

Removes the offending message.

  • Reason — Optional text logged for context
16

Warn

Sends a formal warning to the user and records it.

  • Reason code — Structured category
  • Reason text — Human-readable explanation shown to the user
17

Mute

Times out the user for a configurable duration.

  • Duration (minutes)
  • Reason text
18

Strike

Issues a strike through the enforcement system.

  • Category
  • Severity — Minor or Major
  • Reason text
19

Ban

Bans the user. Use sparingly and pair with Log Only first to catch false positives.

  • Category
  • Reason
  • Discord ban toggle — On = also bans from Discord itself, Off = records in Arkanis only

4. Advanced Options

20

Exemptions

Prevent the rule from firing against certain users or in certain places:

  • Exempt Roles — Multi-select. Members with any of these roles are skipped
  • Exempt Channels — Multi-select. The rule never fires in these channels
21

Matching Behavior

  • Case Sensitive toggle — Default off (e.g., "SPAM" matches "spam")
  • Word Boundary toggle (word filter only) — On matches whole words, Off matches substrings
  • Allowlist Words — Words that prevent a rule from firing even if other patterns match
22

Notifications & Cooldowns

  • DM on Trigger toggle — Send the user a private message explaining the rule
  • Per-User Cooldown (seconds) — Minimum gap between triggers for the same user
  • Per-Channel Cooldown (seconds) — Minimum gap between triggers in the same channel

Simulate a Rule

23

Test Before Going Live

On the AutoMod page, click Simulate Rule. The simulator lets you test a rule end-to-end without affecting real users.

24

Run a Simulation

  • Select the rule from the dropdown
  • Enter a test message into the input field
  • Click Simulate

The result shows either "Matched" with a breakdown of what action would have been taken, or "No match" with the reason. Try both positive and negative samples to catch false positives early.

💡
Tip
The simulator also respects your exemptions and cooldowns. If a real user would be exempt because of their role, the simulator will show that reason instead of a match.

Managing Rules

25

Enable, Disable, or Edit

Every rule card on the AutoMod page has a quick Enabled toggle so you can pause a rule without deleting it. Click a card to open the builder again with every setting pre-populated. Changes apply immediately; no restart or re-deploy needed.

26

Monitor Performance

Each card shows the number of recent matches and the last-fire timestamp. Use these to spot noisy rules (firing too often) and silent rules (never firing, probably misconfigured).

ℹ️
Note
Arkanis AutoMod runs alongside Discord's native AutoMod. Rules are evaluated independently and don't interfere with anything you've configured in Discord's own AutoMod settings.
💡
Tip
For scheduled channel cleanups (not event-driven), see Auto Purge. It runs on an interval instead of reacting to each message.