This module requires the following permissions depending on how it’s configured:
- Manage Messages — if any rules are set up to delete the offending message(s)
- Manage Roles — if any rules are set up to mute the author as an additional action
- Moderate Members — if any rules are set up to time out the author as an additional action
- Kick Members — if any rules are set up to kick the author as an additional action
- Ban Members — if any rules are set up to ban the author as an additional action
Universal Settings
You can mark channels as ignored to stop automod from scanning messages within those channels by default. You can specify per-rule whether or not to disregard the default ignored channels. You can mark roles as ignored to stop automod from scanning messages from users with those roles. You can specify per-rule whether or not to disregard the default ignred roles. You can set a default report channel to which automod actions will be logged. This can be overridden per-rule. The interact with webhooks setting determines whether or not automod should scan webhook messages. If you use services like PluralKit, Tupperbox, Octocon, NQN, etc. that allow users to send messages through webhook, you should enable this setting so that members cannot circumvent your automod using those services. Note that this is a double-edged sword — Daedalus cannot determine the reason for a webhook message being sent, so people with ignored roles will be unable to send proxied messages.Rules
Each rule comes with a match configuration, an action, and restrictions.Match Configuration
The following rule types are available:blocked terms— detect messages containing forbidden words/phrasesrepeated characters— detect messages containing the same character repeated too many times in a rowemoji spam— detect messages containing too many emojiratelimit† — detect when a user sends messages too frequentlyattachment spam† — detect when a user sends files too frequently (optionally also if they send too many files in one message)sticker spam† — detect when a user sends stickers too frequentlylink spam† — detect when a user sends links too frequently (optionally also if they send too many links in one message)mention spam† — detect when a user sends user/role mentions too frequently, too many mentions in one message, or tries to ping @everyone or @here without having the requisite permissioninvite links— detect when a user sends an invite link to a blocked/disallowed serverblocked links— detect when a user sends a URL from a blocked domain
Actions
Each rule can be configured with the following actions:report to channel— if true (default), report to the specified channeldelete message— delete the offending message (or for ratelimit rules, all offending messages)notify author— notify the author that their message was flagged (also informs them what other actions were taken)override report channel— send alerts from this rule to the specified channel, or if not set, the default report channeladditional action— specify an additional action to do on top of the above (all except “do nothing” are logged to the user’s history)action duration— if the additional action is to mute, timeout, or ban, you may (or for timeouts, must) specify the duration of the punishment
Restrictions
Each rule can be configured with the following match restrictions:disregard default ignored channels— treat the universal ignored channels setting as though it were empty (match messages in all channels that aren’t ignored by this rule)disregard default ignored roles— treat the universal ignored roles setting as though it were empty (match messages from all users who aren’t ignored by this rule)only watch enabled channels— only match messages in channels that are explicitly watched by this rule and ignore channels by defaultonly watch enabled roles— only match messages from users with a role that is explicitly watched by this rule and ignore others by default