Filter Actions Reference
Every security filter in Thrella has a configurable action level that determines what happens when a detection occurs. This page provides a complete reference for all available actions.
Action Levels
| Action | Message Deleted | User Notification | Punishment | Case Created | Appealable | Use Case |
|---|---|---|---|---|---|---|
| LOG_ONLY | No | No | None | No | - | Monitoring without disruption. Useful during initial setup to evaluate detection accuracy. |
| ALERT | No | No | None | WARN | No | Sends an alert to the alert channel without deleting the message. Creates a non-appealable WARN case for tracking. |
| DELETE | Yes | No | None | WARN | No | Silent removal. The message is deleted with no DM or punishment. Creates a non-appealable WARN case for tracking. |
| DELETE_WARN | Yes | DM warning | None | WARN | No | Deletes the message and sends the user a DM explaining what was detected. Creates a non-appealable WARN case. Good default for most filters. The DM content is controlled by the DM_DELETE_WARN message template. |
| DELETE_TIMEOUT | Yes | No | Timeout (configurable) | MUTE | Yes | Deletes the message and applies a timeout to the user. The timeout duration is configurable per filter. Creates an appealable MUTE case. Appropriate for repeat offenders or high-confidence detections. |
| DELETE_KICK | Yes | No | Kick | KICK | No | Deletes the message and kicks the user from the server. Creates a non-appealable KICK case. Suitable for clear malicious intent where you want to remove the user but allow them to rejoin. |
| DELETE_BAN | Yes | No | Ban | BAN | Yes | Deletes the message and bans the user. The last 24 hours of their message history is also deleted. Creates an appealable BAN case. Use for confirmed scam accounts or severe threats. |
All actions (including LOG_ONLY and ALERT) send a detection alert to the configured alert channel and record the event in the detection log.
Per-Filter Configuration
Each filter can have a different action level. This allows you to calibrate enforcement based on the confidence and severity of each filter type.
The PFP filter also supports per-hash action overrides. Each blocked profile picture can have its own action, overriding the guild default. See PFP Filter - Per-Hash Action Overrides for details.
For example:
| Filter | Suggested Action | Reasoning |
|---|---|---|
| Link Filter | DELETE_WARN or DELETE_BAN | Scam links are high confidence and high risk. DELETE_WARN is a safe default; DELETE_BAN is appropriate if your community is frequently targeted. |
| PFP Filter | DELETE_KICK | Kick creates a natural enforcement loop: the user is re-scanned on rejoin and kicked again if the avatar is unchanged. This blocks them until they change their PFP. Start with ALERT if you want to evaluate detections first. |
| Invite Filter | DELETE_WARN | Unwanted invites are disruptive but not always malicious. A warning educates the user. |
| Forward Filter | DELETE_WARN | Forwarded scam content is often shared unknowingly. A warning is usually sufficient. |
| Block All URLs | DELETE_WARN | Unapproved links may be shared unintentionally. Start with DELETE_WARN; escalate to DELETE_TIMEOUT for strict environments. |
| AI Detection | DELETE_WARN | AI analysis can catch novel threats but may produce false positives. Start with DELETE_WARN; escalate once you have reviewed the detection log and are confident in accuracy. |
These are suggestions only. Choose the action level that matches your community's needs and risk tolerance.
Per-Filter Options
In addition to the action level, each filter supports three independent configuration options:
Timeout Duration
When a filter's action is set to DELETE_TIMEOUT, you can configure the timeout duration specifically for that filter. This means the link filter can apply a 10-minute timeout while the AI Detection filter applies a 1-hour timeout, for example.
DM Notification
Each filter can independently enable or disable DM notifications to the user when the filter triggers. This allows you to send DMs for some filters (e.g., DELETE_WARN on the link filter) while keeping other filters silent.
Trusted Role Bypass
Each filter has its own toggle controlling whether members with trusted roles bypass that specific filter. By default, trusted roles bypass all filters. Disabling this toggle on a specific filter means trusted members are still subject to that filter's scanning and enforcement.
Custom Messages (AI Detection)
AI detection rules support optional custom messages for notifications:
- Custom DM Message - a custom message sent to the user when the rule triggers. Supports variables:
{guildName}(server name),{reason}(detection reason), and{duration}(timeout duration, when applicable). - Custom Public Notification Message - a custom message posted publicly when the rule triggers. Supports variable:
{user}(mention of the user).
These are configured per rule card on the AI Detection page. See the AI Detection Dashboard Guide for details.
Choosing the Right Action
Start with monitoring
If you are enabling a filter for the first time, consider starting with LOG_ONLY or ALERT. This lets you observe what the filter catches without affecting your members. Review the alerts for a few days, then escalate to a more aggressive action once you are confident in the detection accuracy.
Escalate based on intent
- Accidental or uninformed -- A member sharing a shortened URL or an invite they did not realize was blocked. DELETE_WARN is appropriate.
- Repeat behavior -- A member who has been warned but continues to post filtered content. DELETE_TIMEOUT gives a clear signal.
- Clear malicious intent -- An account posting known phishing links or scam content. DELETE_BAN removes the threat immediately.
Consider your community size
Larger communities may benefit from more aggressive defaults (DELETE_TIMEOUT or DELETE_BAN on the link filter) because manual review of every incident is impractical. Smaller communities may prefer DELETE_WARN to maintain a more personal moderation approach.