AutoMod: automatic protection against spam and links

24/7 filters against spam, links, duplicate messages and walls of text.

Moderation & security Last updated: AutoMod

What AutoMod does

AutoMod checks every message sent on your server and, when someone goes over a limit you define, deletes the message and applies the punishment you chose, with no moderator online.

When it triggers, it posts a notice in the channel (for example «⚠️ @user, Spam de mensajes») that deletes itself after 5 seconds to keep the chat clean.

Info

Members with the Administrator permission are never punished by AutoMod.

The four filters

FilterWhat it countsExample threshold
🛡️ Anti-Spam (Frequency)How many messages the same person sends within 10 seconds.Threshold 5 → triggers on the fifth message in 10 s.
🔗 Anti-LinksHow many links (http:// or https://) they send within 10 seconds.Threshold 1 → any link is punished.
📏 Character LimitThe length of a single message.Threshold 800 → messages longer than 800 characters.
♊ Duplicate MessagesIdentical messages (case-insensitive) within 10 seconds.Threshold 3 → on the third repeated message.

There can only be one rule per filter. Saving the same filter again updates the existing rule.

Available punishments

PunishmentWhat happens
🗑️ Delete OnlyThe message is deleted and the temporary notice appears in the channel.
⚠️ Delete + WarnAlso, they get a DM explaining the punishment and a warn case is added to their history.
🔇 Delete + Mute (Timeout)Also, they are timed out for the minutes set in «Duration».
🔨 Ban UserThe message is deleted and the person is banned.

Custom message (optional): replaces the automatic reason both in the channel notice and in the DM. For example: «Links are not allowed without staff permission».

Step-by-step setup from the dashboard

  1. Open the AutoMod tab

    Dashboard → your server → AutoMod in the left menu.

  2. Pick the «Security Filter»

    Anti-Spam, Anti-Links, Character Limit or Duplicate Messages.

  3. Pick the «Automatic Punishment»

    If you choose Mute, fill in Duration (Minutes).

  4. Set the «Sensitivity (Threshold)»

    The number at which the rule triggers (see the filters table).

  5. Select «Immune Roles» (optional)

    Hold Ctrl (Cmd on Mac) to select several. People with those roles are never punished by this rule: perfect for staff or a «Partner» role allowed to share links.

  6. Click «Save Config»

    The rule appears in the table below with a green dot. It works immediately.

If you are not logged in, you will sign in with Discord first and come straight back to this dashboard section.

Open AutoMod in the dashboard

To remove a rule, click the trash icon on its row. AutoMod is configured from the dashboard only; it has no commands.

Required permissions

What the bot needs

  • Manage Messages (delete)
  • Timeout Members (mute)
  • Ban Members (ban)
  • View Channels in the monitored channels
  • Role above the members it punishes

What you need

  • Manage Messages, Manage Server or Administrator to save rules in the dashboard

Troubleshooting

AutoMod does not punish anyone

Check the rule has a green dot, the person is not an administrator or holding an immune role, and the bot can see the channel.

It deletes the message but does not time out

That person's role is above Nekovilo's, or the bot lacks «Timeout Members».

Does it count Discord invite links?

It counts any link starting with http:// or https://, full invites included (https://discord.gg/...).

Stuck?

Our team can help you on the support server or by email.