Ammit Portal
Shop Sign in
Feature overview

Automod

Filters unwanted messages and sets up automatic sanctions.

At a glance

Availability
Free, with Premium options
In the portal
Security › Automod
Reports
In the Sanctions channel, chosen on the Logs page

Overview

Automod checks your members' messages and steps in when a message breaks your rules. It detects banned words, invitations to other servers, links that are not allowed, mass mentions, messages written in capital letters, repeated messages, and flooding. Ammit then deletes the message and can sanction its author. A report informs your team in the sanctions channel.

Ammit's Automod is independent of Discord's built-in AutoMod, and the two can work together.

How it works

Ammit checks every new message, as well as edited messages. For an edited message, it checks the content again, without taking flood or repeated messages into account.

Ammit never checks messages from bots and webhooks. It also ignores those of the server owner, of members who have the Administrator, Manage Server, or Manage Messages permission, and of members who have the Moderation access, given in Team and access, or one of the Protected roles on the Sanctions page. You can exclude other channels and roles in the Exceptions section.

Rules

Ammit checks the rules in the order of the table and keeps the first one that applies. The rule's name is the one shown in the reports.

RuleWhat Ammit detects
Discord inviteAn invite to another Discord server. Invites to your own server are allowed. Links from third-party invite services, such as discord.me, discord.io or dsc.gg, are always blocked, because Ammit cannot check which server they lead to.
Link not allowedA link to a domain that is not among the Allowed domains. Subdomains of an allowed domain are accepted.
Banned wordA word or phrase from your list, including its variants described below.
Mass mentionsMore members and roles mentioned than the number of Mentions allowed per message. The same mention repeated counts only once.
Excessive capitalsA message of at least 15 letters, of which 70% or more are capital letters.
Repeated messagesThe same message sent in a row more often than the number of Consecutive identical messages. With the default value, 3, the fourth send is a violation. The comparison ignores capital letters, accents and punctuation. A different message, or more than a minute between two sends, resets the count to zero.
FloodMore messages than the Maximum number of messages during the Flood interval, whatever their content. With the default values, the seventh message sent within 8 seconds is a violation.

Banned words

Ammit compares simplified forms of words and so recognises common variants. If your list contains “scam”, Ammit also recognises “SCAM”, “scaaaam”, “5cam”, and “s c a m”.

  • Capital letters and accents are ignored.
  • Digits and symbols that imitate letters are replaced by those letters.
  • Repeated letters are reduced to one.
  • Letters that are spaced out or separated by dots are joined back together.

Only whole words are recognised, with their plural and feminine endings in s, e, es or x. Thus “arnaques” is recognised, but not “arnaqueur”. A phrase of several words is recognised when its words follow one another in the message.

The list holds up to 500 terms of 100 characters at most, one per line or separated by commas. Ammit offers a starter list of 20 common insults and hateful terms, which you can edit.

Measures

Outside test mode, Ammit deletes the offending message, then applies the chosen Action on violation.

Action on violationEffect
Delete the messageThe message is deleted, with no sanction.
Delete the message and warnThe message is deleted and the member receives a warning. This is the default choice.
Delete the message and muteThe message is deleted and the member is muted for the Automatic mute duration, 10 minutes by default. This choice requires Premium.

The warning and the mute are sanctions like those from your team. They are recorded in the member's record and count toward automatic escalation. The member receives the private sanction message if the Direct message to the member option is turned on in the Sanctions page. In the channel, Ammit also posts a short message that mentions the member and the rule they broke, deleted after 8 seconds.

When a member commits a string of violations, Ammit deletes every message but only sanctions them once every 30 seconds. It likewise posts a single report per rule during those 30 seconds. Further violations are noted in the Event log, under Logs in your server's menu.

Reports and review queue

Ammit posts its reports in the sanctions channel. Each one shows the member, the channel, the rule, the message, and the measure taken. Without a sanctions channel, no report is posted.

With Premium, the Review queue is turned on by default. Each report then carries the Justified measure and False positive buttons, and the intervention is added to the Review queue page, under Moderation. A false positive removes the sanction from the member's record and ends their mute. The deleted message is not restored.

Test mode

Test mode is turned on by default. Ammit then posts its reports with the label TEST MODE and the measure it would have taken, without deleting messages or sanctioning. This test mode applies to Automod and its risk score. The Protection test mode, in Alerts and quarantine, does not apply to Automod.

Risk score

The risk score, reserved for Premium servers, judges a member's behaviour over several messages rather than a single one. Each message adds points according to what it contains, and the score loses half of its value every minute. A member who chats normally keeps a low score, whereas spam-like behaviour makes it rise quickly. Ammit takes the following signs into account.

  • More than 4 messages sent in 10 seconds.
  • A message almost identical to the previous one, sent less than a minute after it.
  • More than two mentions in a message, or a mention of @everyone or @here that notifies members.
  • Links or Discord invitations.
  • A large number of emojis, a message in capital letters or a message of at least 1,500 characters.
  • The same message posted in at least 3 channels within one minute.
  • At least 3 attachments in a single message.
  • A violation spotted by Automod's rules.

When the score reaches the threshold, Ammit deletes the message, mutes the member for the First mute duration, 10 minutes by default, then resets their score to zero. If a new measure occurs less than 24 hours after the previous one, the duration doubles, up to 28 days. The Sensitivity sets the threshold at 100 points in Normal, 70 in High and 150 in Low. The report states the signs detected and the score reached, for example “score 128/100”.

Configuration

In your server's menu, open Automod, in the Security section.

Screenshot taken on the “Les Gardiens du Nord” demo server.
  1. Turn on the switch at the top of the page, which then shows Automod enabled. It is saved as soon as you change it, and the settings appear.
  2. In Moderation mode, leave Test mode turned on for your first few days, then choose the Action on violation. The Automatic mute duration matters only with Delete the message and mute.
  3. In Exceptions, add the Excluded channels and the Exempt roles, for example the channel where your members present their own servers.
  4. Complete the Banned words list. The switch in this section turns the filter on or off without erasing the list.
  5. In Links and invites, then in Message bursts, choose the rules that suit your community. The value 0 turns off the corresponding check.
  6. With Premium, turn on the Risk score if needed and choose its Sensitivity.
  7. Click Save changes, in the bar that appears at the bottom of the screen.
  8. After a few days, reread the reports. If the detections suit you, turn off Test mode and save.
Invites to your server

If you block links, a discord.gg invite to your own server is treated as an ordinary link. Add discord.gg to the Allowed domains to let it through. Invites to other servers stay blocked as long as the Block Discord invites option is on.

Settings

Moderation mode

Choose how Automod responds to violations.

SettingDescriptionDefault value
Automatic moderationDisabled
Test modeViolations are reported in the sanctions channel, without deleting any message or applying any sanction.Enabled
Action on violationPremiumAction taken when a violation is detected.Delete the message and warn
Automatic mute duration10 minutes

Exceptions

Choose the channels and roles Automod ignores.

SettingDescriptionDefault value
Excluded channelsThe selected channels won't be analyzed by Automod.None
Exempt rolesMembers with these roles will not be affected by Automod rules. The team, protected roles and members who can manage messages are already excluded.None

Banned words

Block the words and expressions you don't want to see on the server.

SettingDescriptionDefault value
Word filterEnabled
Banned words and phrasesOne term per line. Variants (capital letters, accents and repeated characters) are detected too.connard, connasse, enculé, salope, pute, fils de pute…

Links and invites

Manage Discord invites and allowed links.

SettingDescriptionDefault value
Block Discord invitesPrevents invites to other servers from being posted.Enabled
Block linksPremiumBlocks external links (websites, social networks, etc.).Disabled
Allowed domainsOne domain per line. Subdomains are included.youtube.com, youtu.be, twitch.tv, tenor.com, giphy.com, discord.com

Message bursts

Limit flooding and abusive messages.

SettingDescriptionDefault value
Maximum number of messagesNumber of messages allowed within the set interval. 0: no check.6
Flood intervalLength of the check interval.8 seconds
Consecutive identical messagesPremiumNumber of identical messages allowed in a row.3
Mentions allowed per messagePremiumMaximum number of mentions per message.5
Block messages in capitalsPremiumDetects and blocks messages written almost entirely in capital letters.Disabled

Risk score

Detect repeated behavior and adjust the sanction.

SettingDescriptionDefault value
Risk scorePremiumThe score takes several messages into account and can increase the sanction for repeat offenses.Disabled
SensitivityPremiumSets how strict detection is.Normal
First mute durationPremiumDuration applied the first time the risk score is exceeded.10 minutes

Usage

When a report concerns a legitimate message, adjust the rule involved, for example by removing a word from the list or by adding a domain to the Allowed domains.

With the Review queue, click Justified measure or False positive under the report. If a member was warned for an expression that was not insulting in its context, click False positive. Ammit removes the warning from their record and writes the decision on the report. The Review queue page lists all interventions, with their status and the false positive rate.

Texts that Ammit posts in place of a member follow the same invite and link rules. Ammit therefore refuses an idea submitted with /suggestion submit, a reason for absence given with /afk or a reminder created with /reminder create and the here option, if they contain an unauthorised invite or link. Moderation team members are not affected.

Required permissions

To delete messages, Ammit needs the Manage Messages permission in the channels it monitors. To mute a member, it needs the Timeout Members permission. Ammit never sanctions the server owner, nor a member whose highest role is equal to or higher than its own. It still deletes the message, and the report states that the sanction was not possible.

In the sanctions channel, Ammit needs the View Channels, Send Messages, and Embed Links permissions.

In the portal, the server owner and administrators configure Automod. The access of other roles and members is set in Team and access. The Justified measure and False positive buttons are reserved for the moderation team, that is, the owner, members who have the Moderation access, and those who have the Administrator, Manage Server, Timeout Members, Kick Members or Ban Members permission. To lift a mute with False positive, the Timeout Members permission is also required, except for the server owner.

Free version and Premium

FeatureFreePremium
Basic auto-moderation: banned words, invites, floodIncludedIncluded
Advanced automod: links, mentions, duplicates, capitals, automatic mute, review queueNot includedIncluded
Risk score and progressive sanctionsNot includedIncluded
Test mode: protections and Automod without real sanctionsIncludedIncluded

Limits

  • Ammit checks the text of messages. Text visible in an image or in an attached file is not read.
  • The links rule recognises only links that start with http://, https://, or www. A domain name written on its own is not checked.
  • Only text channels can be added to the Excluded channels. The threads of these channels are excluded with them.
  • Beyond 500 terms, the remaining words in the list are not saved.
  • A mute never exceeds 28 days, the maximum duration Discord accepts.

Frequently asked questions

Why does Automod not react to my own messages?

Ammit does not check messages from the server owner, or from members who have a permission such as Manage Messages or a team role. To try out your rules, use a second account with no particular role or permission.

Why are violating messages not deleted?

Test mode is probably still turned on. Reports then carry the label TEST MODE, and the Check tab of the Settings page flags it. Also check that Ammit has the Manage Messages permission in the channel.

A member was muted while simply chatting. What should I do?

The report shows the rule or the risk score signs involved. With the Review queue, click False positive to lift the mute. Then raise the threshold concerned, or set the Risk score's Sensitivity to Low.

Learn more