Security

AutoMod

Automatically filter unwanted content and manage user behavior.

AutoMod combines Mataru's own protection modules with Discord's native automod rules. Together they cover link filtering, spam, invite blocking, mention abuse, and more.

Setup

Run !automod to open the interactive module configuration menu.

!automod

Available Modules

ModuleWhat it does
Anti-LinkBlocks unauthorized URLs in messages
Anti-SpamStops message flooding and rapid posting
Anti-Mention SpamLimits mass pings and @everyone abuse
Anti-InviteBlocks Discord server invite links
Anti-NSFWNative Discord rule for explicit content
Anti-Emoji SpamNative Discord rule for emoji flooding

Whitelist

Exempt specific users, roles, or channels from one or more automod modules.

!automodwhitelist add <@user|@role|#channel>
!automodwhitelist remove <@user|@role|#channel>
!automodwhitelist show

After running the command, you'll be prompted to select which module(s) the exemption applies to.

Ghost Ping Protection

Catch users who mention someone and immediately delete the message.

!antighostping

Anti-Ping

Prevents members from using @everyone and @here without permission.

!antiping on
!antiping off

NOTE

Only users with the Mention @everyone permission (or who are whitelisted) can bypass anti-ping.

TIP

Pair AutoMod with !logging so every deleted message is logged for review.