Skip to content
Browse the docs

Security

AutoMod & anti-raid

One-tap filters, custom rules, escalation and join-flood protection.

Setup menus#

  • /automod setup โ€” every filter switch, AutoMod on/off, log channel, exempt roles and channels, strike memory, and Turn everything on.
  • /raid setup โ€” anti-raid on/off, join limit and window, minimum account age, automatic raid mode, action, verification role, alert channel, and a Raid mode on/off button.

AutoMod quick start#

  1. /automod enable filter:All filters (m!automod enable all) โ€” anti spam, links, invites, mass mentions, caps, dangerous files, emoji/zalgo walls and Discord's bad-words list. Or pick one: /automod enable filter:antispam. /automod status shows every filter with an On/Off button beside it โ€” tap one to switch it.
  2. /automod log-channel channel:#automod-logs (or /logging set category:AutoMod).
  3. /automod exempt role:@Staff for roles/channels that shouldn't be filtered.

Whitelisted members with AutoMod bypass (the default for whitelist entries) and members with Manage Messages are never filtered.

CommandWhat it does
/automod statusEvery filter with its switch, log channel, custom rules, escalation
/automod enable filter: ยท disable filter:antispam, antilink, antiinvite, antimention, anticaps, antifiles, antiemoji, badwords, all
/automod toggle enabled: ยท recommendedMaster switch; add the starter rules
/automod rule keywords name: words: action: duration:Blocked words
/automod rule regex name: pattern: action:Regex (safely time-limited)
/automod rule links name: mode: action: domains:Allow/deny links
/automod rule list ยท remove ยท toggleManage rules
/automod escalation points: action: duration:e.g. 3 strikes โ†’ 1h timeout
/automod native kind: enabled:Discord's built-in AutoMod (keyword presets, mention spam)

Actions: delete, warn, timeout, kick, ban, log. The message is deleted first; then only the strongest member action runs (a ban already covers a timeout).

Rule types (the dashboard's AutoMod page can create all of them): blocked words (leetspeak and zero-width tricks folded), regex, links, invites, message spam, repeated messages, mass mentions, caps, file types, and formatting (max emojis, max lines, zalgo marks; 0 turns a check off). During raid mode, spam and mention limits are halved automatically.

Raid protection#

CommandWhat it does
/raid settings joins: window: min_account_age: action: auto_raid_mode: alert_channel:Detection thresholds and what raid mode does
/raid mode enabled:true/falseManual raid mode
/raid statusCurrent state and recent raids

When a raid is detected, the owner and extra owners get a safety alert. With auto_raid_mode, Miwi gates new joins (timeout/kick/ban new accounts) and ends raid mode after an hour of calm.

Logs#

AutoMod hits go to the AutoMod log channel and the server's AutoMod log category; raid events go to the alert channel and the Security log category (never twice to the same channel).

Still stuck? Ask in the support server โ€” real people answer.

AutoMod & anti-raid ยท Docs ยท Miwi