Escalation Rules
Escalation rules automatically apply stronger moderation actions when a user accumulates multiple warnings within a defined time window. Instead of manually tracking repeat offenders, you configure rules and Thrella handles enforcement.
How It Works
- A WARN case is created for a user (either from a manual
/warncommand or from a security filter action that creates a WARN case). - After the warn is recorded, Thrella checks the user's recent warn count against all enabled escalation rules.
- If the warn count meets or exceeds a rule's threshold within its time window, the escalation action fires.
- When multiple rules match, the most severe action is applied. Only one escalation occurs per warning event.
When the same filter triggers on the same user within a 30-second window, DMs, actions, alerts, and notifications are skipped for repeat triggers - but a new case is still created each time. This means repeat violations properly count toward escalation thresholds even though the user only sees one notification.
Only WARN cases count toward escalation thresholds. Security filter actions of ALERT, DELETE, and DELETE_WARN all create WARN cases, so they contribute to escalation counts. DELETE_TIMEOUT, DELETE_KICK, and DELETE_BAN create MUTE, KICK, and BAN cases respectively and do not count.
Rule Settings
Each rule has the following settings:
| Setting | Description | Range |
|---|---|---|
| Warn Count | Number of warns required to trigger | 2–50 |
| Time Window | How far back to look for warns | 1–90 days |
| Action | The escalation action to take | MUTE, KICK, or BAN |
| Duration | How long the action lasts (required for MUTE) | Configurable |
| Reason | The reason text recorded on the escalation case | Free text |
Example
You create a rule: 3 warns in 7 days → MUTE for 1 hour.
A user receives their third warning within a 7-day period. Thrella automatically:
- Sends the user a DM explaining the escalation.
- Applies a 1-hour timeout in Discord.
- Creates a new MUTE case with the prefix
[Escalation:{ruleId}]in the reason. - Posts the action to the mod log channel.
- Logs the case in the case system.
- Sends an alert to the alert channel (showing the escalation iteration if it has fired before).
What Happens When an Escalation Fires
When an escalation rule triggers, the following sequence occurs:
- DM - the user receives a direct message about the escalation action.
- Discord action - the timeout, kick, or ban is applied in Discord.
- Case creation - a new case is created with
[Escalation]prefixed to the reason, making it easy to identify in the case list. - Mod log - an embed is posted to the mod log channel.
- Alert channel - a notification is sent to the alert channel.
Stacking
Escalation rules stack - they re-trigger every time the warn count crosses the next multiple of the rule's threshold within the same time window.
For example, with a rule 3 warns in 7 days → MUTE:
| Warns in window | What happens |
|---|---|
| 3 | 1st MUTE (threshold: 3) |
| 4–5 | No escalation |
| 6 | 2nd MUTE (threshold: 6) |
| 7–8 | No escalation |
| 9 | 3rd MUTE (threshold: 9) |
Each rule tracks its own escalation history independently. A MUTE escalation from one rule does not prevent a BAN escalation from a different rule.
Deduplication
Each escalation case is tagged with the rule ID that triggered it (e.g., [Escalation:{ruleId}]). Thrella counts how many times a specific rule has already fired for the same user in the time window and only fires again when the warn count reaches the next threshold multiple. This means:
- Same rule: re-triggers at every multiple of its threshold (3, 6, 9, ...).
- Different rules: operate completely independently - one rule firing never blocks another.
Interaction with Case Retention
If you configure auto-archive for cases (see Case Management), ensure your retention period is not shorter than your longest escalation time window. If warns are archived before the escalation window expires, they will not be counted toward escalation thresholds.
Tier Limits
The number of escalation rules you can create depends on your subscription tier. When you reach the limit for your plan, the Add Rule button is disabled. For current limits, check Dashboard > Billing or visit thrella.com.
Configuration
Navigate to Dashboard > Moderation to manage escalation rules. The Escalation Rules card lets you add, edit, delete, and toggle individual rules. A tier limit badge shows your current usage.
See the Moderation Dashboard Guide for details on the interface.
Start conservative. Review your Cases page to understand your community's warning patterns before creating escalation rules. A rule that is too aggressive can escalate quickly for minor infractions.