Expiry and active warnings
By default, a warning counts forever: a member warned twice three years ago still has 2 warnings today. That's rarely fair, and it makes automatic sanctions hit members who have been well behaved for a long time. The expiry fixes that.
How expiry works
Set it with /mod warnconfig expire-days:<days>, from 1 to 365 days. 0 turns it off (warnings count forever).
- A warning expires exactly that many days after it was given. With 30 days, a warning given on 2 November at 21:14 stops counting on 2 December at 21:14.
- An expired warning stays in the history:
/mod warnliststill shows it, struck through and marked expired. You keep the full record of the member. - It just no longer counts: neither in the number of active warnings shown to the member and the staff, nor for the automatic sanctions.
- Nothing happens at the moment it expires: no message, and a sanction already applied isn't lifted. Expiry only changes the next count.
Active warnings
Everywhere iHorizon shows a count of warnings (the private message, the staff log, /mod warnlist, the dashboard), it's the active warnings: the ones that haven't expired. /mod warnlist shows both: "3 active · 5 in total".
Changing the expiry applies to every warning
iHorizon doesn't stamp an end date on a warning when it's given: it compares each warning's date with the expiry every time it counts. So changing the setting changes the count of every member at once, including for old warnings:
| You change | Effect |
|---|---|
0 → 30 |
Every warning older than 30 days stops counting immediately |
30 → 90 |
Warnings between 30 and 90 days old count again |
30 → 0 |
Every warning counts again, whatever its age |
Changing the settings never sanctions by itself
A new count only matters when the next warning arrives: thresholds are checked when a warning is given, never when the settings change. Raising the expiry from 30 to 90 days doesn't sanction anyone on the spot, but the member's next warning will be counted with the older ones.
An example: a 30-day expiry
A member receives four warnings over five weeks, with 3 warnings = 1-hour timeout:
| Day | What happens | Active warnings |
|---|---|---|
| 1 | Warning 1 | 1 |
| 10 | Warning 2 | 2 |
| 25 | Warning 3: threshold 3 reached, 1-hour timeout | 3 |
| 31 | Warning 1 expires (nothing is sent) | 2 |
| 35 | Warning 4: the count lands on 3 again, 1-hour timeout again | 3 |
| 40 | Warning 2 expires | 2 |
| 55 | Warning 3 expires | 1 |
| 65 | Warning 4 expires | 0 |
On day 65, /mod warnlist still lists the 4 warnings, all marked expired: "0 active · 4 in total".
Choosing a duration
| Expiry | Fits |
|---|---|
0 (never) |
Small servers, or when every warning is serious and rare |
7 to 14 days |
Very active chats where small warnings are frequent (spam, off-topic) |
30 days |
A good default for most community servers |
90 to 365 days |
Strict servers, or when warnings are only given for real offences |
The more automatic warnings your server produces (anti-spam, media-only channels…), the shorter the expiry should be: otherwise a few spam bursts months apart end up adding to a moderator's warning.