Discord AutoMod
Strom manages native Discord AutoMod rules through the dashboard, so filtering happens at Discord’s edge — before a message ever reaches your channels.
Rule types
Discord AutoMod supports several trigger types. Strom exposes all of them with full create/read/update/delete.
| Trigger | Blocks |
|---|---|
| Keyword | Custom words and phrases you define |
| Keyword preset | Discord’s built-in profanity / slur lists |
| Spam | Detected spam content |
| Mention spam | Messages exceeding a mention cap |
Creating a rule
From Moderation → AutoMod → New rule, choose a trigger and its actions.
// A keyword rule created via Strom's typed AutoMod API
await guild.autoModerationRules.create({
name: 'Block invites',
eventType: 1, // MESSAGE_SEND
triggerType: 1, // KEYWORD
triggerMetadata: { keywordFilter: ['discord.gg/*'] },
actions: [{ type: 1 }], // BLOCK_MESSAGE
enabled: true,
})
Actions
Each rule can run one or more actions when it matches:
- Block message — stops the message from sending
- Send alert — posts to a moderation channel
- Timeout — applies a temporary timeout to the author
Order matters
If both Block and Alert are set, the message is blocked and your mods are notified — useful for auditing raids.
Exemptions
Whitelist trusted roles or channels so rules never fire on staff:
- Exempt your Moderator and Admin roles
- Exempt an internal #staff channel where filters would be noise
Tip
Exemptions are the most common fix for “AutoMod is too aggressive.” Start permissive, then tighten.
