Automatic sanctions
An automatic sanction is a rule like "at 3 warnings, a 1-hour timeout". When a member's active warnings reach that number, iHorizon applies the sanction right away, without a moderator having to decide it.
| Setting | Allowed values |
|---|---|
| Threshold | 1 to 100 active warnings, one rule per threshold |
| Sanction | Timeout (with a duration from 1 minute to 28 days), Kick or Ban |
| Number of rules | 10 at most |
/mod warnconfig [threshold] [sanction] [duration] [expire-days]
Needs Administrator by default (or a command rule on mod warnconfig). Every option is optional: iHorizon changes what you give, then shows the settings. Without any option, it only shows them.
| Option | What it does |
|---|---|
threshold |
The number of active warnings the rule is about (1 to 100) |
sanction |
Timeout, Kick, Ban, or None (remove) to delete the rule at this threshold |
duration |
For a timeout only: 10m, 1h, 2d… from 1 minute to 28 days |
expire-days |
The expiry of warnings, 0 = never |
Add or change a threshold
/mod warnconfig threshold:3 sanction:Timeout duration:1h
/mod warnconfig threshold:5 sanction:Kick
/mod warnconfig threshold:8 sanction:Ban
A rule on a threshold that already has one replaces it. You can set the expiry in the same command: /mod warnconfig threshold:3 sanction:Timeout duration:1h expire-days:30.
• 3 warnings → Timeout (1 hour(s))
• 5 warnings → Kick
• 8 warnings → Ban
The settings after a change. Without options, the same card is shown in blue, without "Settings saved."
Remove a threshold
/mod warnconfig threshold:5 sanction:None (remove). With no thresholds and no expiry left, the settings are back to their default: warnings never sanction by themselves and count forever.
Errors
| Message | Why |
|---|---|
A timeout needs a duration from 1 minute to 28 days (e.g. 1h, 2d). |
sanction:Timeout without a valid duration |
| The threshold must be from 1 to 100 warnings. | threshold out of range |
| 10 automatic sanctions at most: remove one first. | Already 10 rules, and this threshold is a new one |
| The expiry must be from 0 (never) to 365 days. | expire-days out of range |
Pick a sanction for this threshold (or none to remove it). |
threshold given without sanction |
When one option is wrong, nothing is saved, not even the valid ones.
"Exactly" the threshold
A rule applies when a new warning makes the number of active warnings exactly its threshold. Not "at least": exactly. With 3 = timeout 1h and 5 = kick:
| New warning brings the member to | What happens |
|---|---|
| 1, 2 active warnings | Nothing |
| 3 | 1-hour timeout |
| 4 | Nothing: the timeout isn't applied again |
| 5 | Kick |
| 6, 7… | Nothing, unless you add a rule at 6, 7… |
In practice, each threshold applies once on the way up. But it can apply again if the count goes back down and climbs again: a warning that expires or is removed lowers the count, and the next warning can land on 3 again.
Two consequences worth knowing:
- A rule added later doesn't catch up. If you add "3 = timeout" while a member already has 4 active warnings, they aren't timed out now, and their 5th warning won't trigger the rule at 3 either.
- Plan the step after a kick. Warnings stay after the member leaves. If a kicked member comes back, their next warning brings them to 6: with no rule at 6, nothing happens. A rule like 6 = ban closes the loop.
A ladder that works
Leave room between the steps, and end with a ban: 3 = timeout 1h, 5 = timeout 1d, 7 = kick, 8 = ban. Combined with a 30-day expiry, only a member who keeps breaking the rules month after month reaches the top.
How the sanction is applied
- iHorizon sanctions directly: a Discord timeout, a kick or a ban, with the reason "Automatic sanction: 3 warnings" in the audit log.
- A timeout never shortens the one in progress. If the member was muted for 10 minutes and reaches "3 = timeout 1h", the mute now ends in 1 hour; if they were muted for 2 days, the 2-day mute is kept and the log says "Timeout (1 hour(s)) not applied: the member's current timeout lasts longer and is kept (ends …)". The sanction counts as applied.
- The automatic sanction doesn't add a warning of its own, so it can never cascade into the next threshold.
- The member's private message is sent before the sanction (see Notes, messages and logs).
When iHorizon can't sanction
To sanction, iHorizon needs the right Discord permission (Timeout Members, Kick Members or Ban Members) and its highest role above the member's highest role. It can never sanction the server owner, and Discord doesn't allow timing out a member who has Administrator.
When it can't, the warning is still saved and counted, and the staff log says it:
🛡️ Moderator : @Tom
📄 Reason : Insults in #general
⚠️ Warn ID : 7HQ2M4XA
📊 Active warnings : 3
Leo has a role above iHorizon's: the threshold is reached, the timeout isn't applied.
Fix the role order or the permission; the next time Leo's count lands on a threshold, it will apply.
From the dashboard
The dashboard module Warnings edits the same settings (Administrator or server owner): the expiry, and the automatic sanctions with their threshold, sanction and timeout length. Same limits as the command: 1 to 100 warnings, one sanction per threshold, 10 at most, timeouts from 1 minute to 28 days.