Overview
raze’s built-in message filter — automatically delete rule-breaking content and log violations.
What is the Filter?
The filter system automatically scans every message sent in your server and deletes content that breaks your rules. Each module is independent — enable only what you need, configure thresholds, exempt trusted roles, and send logs to a dedicated channel. All filter commands require the Manage Channels permission or a Fake Permission equivalent.Messages from bots and members with Manage Server are never filtered.
Modules at a glance
Global log channel
Set a fallback log channel used by every filter module that doesn’t have its own log channel configured.Per-module log channels take priority. The global log channel only receives violations from modules with no log channel of their own.
View configuration
Punishments
By default a filter module only deletes the offending message. Set a punishment to also act on the member.- Syntax
- Example
Applies to
caps, spam, chatspam, spoilers, massmention, emoji, invites, links, and musicfiles.
;filter punishment requires Manage Server (or the Fake Permission equivalent) — stricter than the rest of the filter commands. duration is only used by timeout.Heat Automod
Instead of punishing a single message, heat tracks a running score per member. Every filter violation adds heat; heat decays over time, so occasional slip-ups fade away. When a member’s heat crosses the max, they collect a strike — and once strikes hit the cap, raze automatically times them out.Configure
- View config
- Example
Snipe configuration
Control which message types are stored by the snipe command.How logging works
Every module has its own log channel. When a violation is caught the bot sends an embed showing:- Module — which filter triggered
- Author — who sent the message
- Reason — what was detected
- Channel — where it happened

