AutoMod
AutoMod checks every new and edited message against your rules and acts on the first one that matches: it deletes the message and, if you choose, warns, times out, kicks or bans the author. Rules cover banned words, spam, duplicate messages, mass mentions, invite links, links (with phishing-link blocking), excessive caps and emoji spam. AutoMod is on by default but does nothing until you add a rule: set the global options, then add up to 25 rules. AutoMod is free for every server.
Turning AutoMod On
AutoMod is on by default, and with no rules it does nothing. The switch is the status card at the top of the AutoMod page: one click turns AutoMod off or back on and is saved straight away, no Save needed. Only staff clicking it ever turns it off. While it's off no rule runs, whatever each rule's own switch says, Discord's built-in AutoMod rule that Diski keeps is removed, and your rules stay saved (and visible, dimmed) for when you turn it back on; trying to change one asks you to turn AutoMod on first. Each rule also has its own on/off switch on its card, so you can pause one rule without touching the others — rule changes take effect when you press Save.
How Rules Run
Rules are checked top to bottom and the first rule that matches wins: one message gets one action, from one rule. A server can have up to 25 rules, including several of the same type (for example two Banned Words lists with different actions). The rule name is optional and is shown in the log and the warning notice; without one, the rule type is used. Messages from bots are never checked. Edited messages are checked again by every content rule, but not by Spam or Duplicate Messages, because an edit is not a new message.
Who Is Never Moderated
Members with Administrator, Manage Server or Manage Messages are always exempt, so your staff are never moderated. Global exempt roles and channels (up to 100 of each) skip every rule. Each rule can add its own exempt roles and channels on top of the global ones, which skip only that rule — for example, allow links in a #media channel while every other rule still applies there.
Banned Words
Catches messages containing any word on your list: up to 300 words or phrases per rule, each up to 100 characters, one per line or separated by commas. Matching ignores upper and lower case. With Whole words only (on for new rules) a word only matches on its own, so a banned "cat" doesn't catch "category" — this works for accented and non-Latin words too. Turn it off to match anywhere, even inside longer words. Your Banned Words rules can also be mirrored into Discord's own AutoMod so Discord blocks those messages before anyone sees them (see Security → Discord's Built-in AutoMod).
Spam
Limits how fast one member can post: Max Messages within Per Seconds (2–50 messages in 1–60 seconds; 5 in 5 seconds by default). The message that reaches the limit is the one acted on — with the default, the fifth message inside five seconds. After the rule acts, that member's count starts again from zero, so one burst gets one action instead of one per message.
Duplicate Messages
Catches the same message sent over and over: Max Repeats (2–20, 3 by default) identical messages from one member within about 30 seconds — the third copy, with the default. Messages count as identical when the text matches, ignoring upper and lower case and spaces at either end. As with Spam, the count starts again after the rule acts.
Mass Mentions
Catches a message that mentions at least Max Mentions different members and roles together (1–50, 5 by default). @everyone and @here are not counted — control those with Discord's Mention @everyone, @here and All Roles permission.
Invite Links
Catches Discord server invites: discord.gg, discord.com/invite and discordapp.com/invite links. There is nothing to set up; use exempt channels or roles for places where invites are welcome, such as a partners channel.
Links
Controls which links members may post. Block all links catches any link; Block only listed domains catches links to the domains you list; Allow only listed domains catches every link except those (up to 200 domains, one per line or separated by commas). A listed domain also covers its subdomains, and you can paste a full address — Diski keeps only the domain. A link counts when it starts with http://, https:// or www., including masked links and links in angle brackets. In allow-list mode each link is judged by the site it actually opens; in block-list mode a blocked domain hidden inside another link is caught too. The rule can also block known phishing and scam links (see Security → Phishing Link Blocking).
Excessive Caps
Catches shouting: a message where at least Caps % of the letters are capitals (1–100%, 70% by default). Short messages are ignored — only messages with at least Min Length letters are checked (1–2000, 10 by default), so "OK" or "LOL" never trips it. Only the letters A–Z are counted.
Emoji Spam
Catches a message with at least Max Emojis emoji (1–100, 8 by default). Both standard emoji and your server's custom emoji count. Each emoji is counted the way you see it, so a flag, a skin-tone emoji or a family emoji counts once.
Actions
Every action deletes the message first. Delete message stops there. Warn also posts a short notice mentioning the member in the channel, which disappears after a few seconds, and records a warning. Timeout also times the member out for the minutes you set (1 minute to 28 days, Discord's limit). Kick removes the member from the server; Ban bans them (their earlier messages are left in place). Diski needs Manage Messages to delete, and Timeout Members, Kick Members or Ban Members with its role above the member's highest role for the others — if it can't, the message is still deleted.
DM the Offender
Off by default. When it's on, AutoMod sends the member a private message each time it acts on one of their messages, saying which server it was, the rule they broke and what was done: message removed, warned, timed out (with how long), kicked or banned. It only reports what actually happened: if Diski couldn't time out, kick or ban the member, the DM just says the message was removed, and if it couldn't delete the message (no Manage Messages in that channel) the DM says the message broke a rule instead, or isn't sent at all when deleting was the only action. The removed message itself is never quoted. Kicked and banned members get the DM just before they're removed, while Diski can still reach them; if Discord then refuses the kick or ban, Diski changes that DM to say only that the message was removed. A member gets at most one DM per minute, so a burst of spam produces one DM, not dozens; a harsher action in that minute (a timeout after a removal, or a longer timeout, say) is still sent. During a raid Diski sends at most 10 of these DMs per server every 10 seconds and skips the rest, so moderation is never held up. The switch covers every rule Diski enforces itself: Banned Words messages that Discord blocks first (Use Discord's built-in AutoMod) never reach Diski, so they get Discord's own notice, not a DM. Members who have turned off DMs from server members won't receive it, and nothing else changes.
Warnings and Moderation Cases
With the Moderation module on, AutoMod's warnings, timeouts, kicks and bans are recorded as moderation cases from “AutoMod”, and warnings count toward your escalation ladder. A rule records at most one warning per member per minute: a burst of spam is still deleted and logged, but it can't stack warnings into an instant escalation (the log shows those as already warned). See Moderation → AutoMod Cases.
Log Channel
Optional. When set, every AutoMod action posts an entry there with the member, the rule, the action taken, the channel and the first 1,024 characters of the message, marked when the message was an edit. Pick a staff-only channel, since the entry repeats the removed text. Diski needs View Channel, Send Messages and Embed Links there.