How to stop raids, spam and scam links on Discord

Set up automod (spam, invites, links, word filters), automatic raid detection and one-command lockdowns with Elarix. Free.

Updated October 2, 2026

Automod

  1. Turn it on: /protect automod toggle.
  2. Pick filters with /protect automod filters (spam, Discord invites, links, and a limit on mentions per message).
  3. Add a ready-made word list with /protect automod preset, or your own words with /protect automod word.
  4. Let your trusted roles and channels through with /protect automod exempt.

/protect automod warnings can warn on every catch and time out repeat offenders.

Anti-raid

/protect antiraid toggle watches for join floods. When one hits, Elarix pauses invites and blocks new joiners. Tune it with /protect antiraid settings, start it yourself with /protect antiraid lockdown, and end it with /protect antiraid end.

In an emergency

/protect lockdown start locks every text channel for @everyone while staff can still talk. /mod massban bans a list of user IDs at once. /protect lockdown end puts everything back.

Pair this with verification so new accounts can't post until they pass.

Questions

Does Elarix read messages?

Automod checks messages as they arrive to catch spam, links and banned words. The privacy policy explains what Elarix keeps.

Try it in your server

Elarix is free, takes two clicks to add, and starts with everything switched off.

More guides