Overview
Automod is one command,!automod, covering several independent checks. Each has its own enable toggle, so turning one on doesn’t affect the others. Arguments are positional and space-separated.
Most of it can also be set from the dashboard: the word filter, anti-spam, strikes, anti-raid and anti-alt in Moderation → Moderation, the silent channels in Moderation → Silent Channels, the templates in Moderation → AutoMod templates, and anti-raid and anti-alt again in Moderation → Anti-raid & nuke. !antiraid is another name of !automod.

In Discord: what the automod log channel gets when the checks act.

Dashboard → Moderation → AutoMod templates: settings for what you add, the counts and the ready packs.
Word filter
!automod word-filter toggle
!automod word-filter toggle

In Discord: the word filter turned on with a mute.
!automod word-filter add
!automod word-filter add

In Discord: a word added to the filter.
!automod word-filter remove
!automod word-filter remove

In Discord: a word taken out of the filter.
!automod word-filter list
!automod word-filter list

In Discord: the action and the banned words.
action is warn (default), mute (10 minutes), kick, or delete (removes the message, no sanction).
Anti-spam

In Discord: anti-spam turned on with at most 5 mentions.
Allowed invites
!automod invites allow
!automod invites allow

In Discord: an invite code allowed.
!automod invites disallow
!automod invites disallow

In Discord: an invite code taken off the list.
!automod invites list
!automod invites list

In Discord: the allowed invite codes.
Anti-raid

In Discord: anti-raid turned on: 6 joins in 10 seconds, then kick.
action is alert (default, staff-only notice), kick, or lockdown (locks the server, see Lockdown).

In Discord: what the alert action posts in the automod log.
Anti-alt

In Discord: anti-alt turned on for accounts under 7 days, only flagging them.
min_age_days (default 7) on join. action is kick (default) or flag (logs only, no action taken).

In Discord: a new account flagged in the automod log.
!automod no-avatar <enabled> [action] flags or kicks accounts that join without a profile picture. action is kick (default) or flag.

In Discord: the no-avatar check turned on, only flagging.
!automod join-pass add
!automod join-pass add

In Discord: a pass for an account that is not in the server yet (an ID works).
!automod join-pass remove
!automod join-pass remove

In Discord: a pass taken back.
!automod join-pass list
!automod join-pass list

In Discord: the passes not used yet, with who gave them.
Link scanning

In Discord: a link that is on no threat list.

In Discord: a known phishing link, written so it cannot be clicked.
Immune roles
Roles that bypass the word filter and anti-spam checks entirely.!automod immune add
!automod immune add

In Discord: a role made immune.
!automod immune remove
!automod immune remove

In Discord: a role that is no longer immune.
!automod immune list
!automod immune list

In Discord: the immune roles.
Silent channels
A channel where any message counts as a violation, regardless of content.!automod silent-channel add
!automod silent-channel add

In Discord: a silent channel where posting gets a mute.
!automod silent-channel remove
!automod silent-channel remove

In Discord: a channel that is no longer silent.
!automod silent-channel list
!automod silent-channel list

In Discord: the silent channels and their action.
action is warn (default), mute (30 minutes), or kick.

Dashboard → Moderation → Silent Channels: each silent channel with its action, and a new one.
Templates
Ready filters made from the same patterns found in AutoMod regex generators. Each one can be added in two ways:- Discord AutoMod (
!automod native add): Petto makes a rule in Discord’s own AutoMod. Discord blocks the message before it is sent. Discord allows only 6 keyword rules, 1 spam, 1 mention limit and 1 word-list rule per server. - Petto filter (
!automod template add): Petto checks the message after it is sent. No limit (40 per server), and it can delete, warn (with the warn escalation), mute or kick.
!automod template add
!automod template add

In Discord: a Petto filter from the Emoji spam template.
!automod template list
!automod template list

In Discord: the Petto filters with their action and hits.
!automod template remove
!automod template remove

In Discord: a filter removed by its number.
!automod template toggle
!automod template toggle

In Discord: a filter turned off without removing it.
!automod native add
!automod native add

In Discord: the Anti scam pack as one rule in Discord's AutoMod.
!automod native list
!automod native list

In Discord: the rules of Discord's AutoMod and the keyword slots used.
!automod native remove
!automod native remove

In Discord: a rule made from a template removed by its ID.
Settings for what you add
Settings for what you add

Dashboard → Moderation → AutoMod templates: what every rule or filter you add will do, and the slots used.
Packs
Packs

Dashboard → Moderation → AutoMod templates: the four packs, each one rule in Discord.
Templates
Templates

Dashboard → Moderation → AutoMod templates: the templates of Links and addresses, each with an example, its options and the two buttons (Safety and Text and noise follow).
What Discord does by itself
What Discord does by itself

Dashboard → Moderation → AutoMod templates: Discord's own Spam, Mention limit and Word lists.
Active in Discord and in Petto
Active in Discord and in Petto

Dashboard → Moderation → AutoMod templates: what is on now, with a switch and a remove button.
Petto •) use keyword slots too. If Discord has no room left, remove a rule you do not need or use the Petto filters, which have no such limit.Finer settings
All of these have the old behavior as default.- Anti-spam can turn each check on or off (same message again and again, mass mentions, invites that are not allowed, shouting) and takes your numbers: copies that count as a flood and in how many seconds, percent of capitals and shortest message checked.
!automod spamhasrepeat,caps_percentandmax_length. - Long messages: delete messages longer than some characters or with too many lines (0 is off). They are only deleted, nobody is punished.
- Channels the automod never checks (the threads inside them too).
- Strikes:
!automod strikes <limit> [window_minutes] [mute_minutes]mutes a member who reaches the limit of automod hits in the window, on top of what each rule did. Limit 0 is off.

In Discord: three automod hits in 10 minutes give a 30 minute mute.

Dashboard → Moderation → Moderation: the word filter, anti-spam with every finer setting, strikes, anti-raid and anti-alt.
Ready-made setups
Copy the block that fits your server. Every line can be changed later on its own.- Friendly community
- Big public server
- Announcements only