Warnings & sanctions
A warning is a formal note on a member's record: "you broke a rule, it's written down". On its own it doesn't remove anybody. But iHorizon can do much more with it:
- warnings can expire, so an old mistake stops counting after a while;
- reaching a number of warnings can sanction the member automatically (a timeout, a kick or a ban);
- some of iHorizon's protections add warnings by themselves (anti-spam, timeouts…), so the whole record is in one place;
- the member is told by private message, the staff gets a log, and a private staff note can travel with the warning.
This section explains each piece in depth:
| Page | What it answers |
|---|---|
| Expiry and active warnings | Which warnings still count, and for how long |
| Automatic sanctions | What happens at 3, 5 or 10 warnings, and what if iHorizon can't sanction |
| Automatic warnings | The warnings no moderator typed: anti-spam, timeouts, advertising, files, media-only channels |
| Notes, messages and logs | What the member receives, what the staff sees, and where the log goes |
| Reviewing and removing warnings | /mod warnlist, /mod unwarn, /mod clearwarn, /mod clear-all-warns |
| A month on a real server | One member followed for a month, with every warning and sanction |
What happens with each warning
Every warning goes through the same steps, whoever gives it: a moderator with /mod warn, the dashboard, or one of iHorizon's automatic protections.
The warning is saved. It gets an ID of 8 characters (capital letters and digits, like K3P9Z2QA), the reason, the author and the date, plus the staff note if there is one.
Warnings are never deleted on their own: they stay in the history until someone removes them, even if the member leaves the server.
iHorizon counts the active warnings. Every warning of the member that hasn't expired, this one included.
Without an expiry, every warning counts forever.
The member gets a private message with the reason, the moderator, the date, the warning ID and their number of active warnings. Never the staff note.
It's sent before any sanction: after a kick or a ban, iHorizon could no longer reach them. If their private messages are closed, the warning still goes on.
The automatic sanction, if a threshold is reached. When the number of active warnings is exactly a threshold set with /mod warnconfig, iHorizon applies its timeout, kick or ban.
If iHorizon can't (missing permission, member above its role), the warning is kept and the log says so.
The staff log. A card with everything, staff note and sanction included, posted in your logs channel.
In a channel whose name contains ihorizon-logs, else mods (only if @everyone can't see it), else the Moderation Logs channel of /setlogs.
Each step has its page: expiry and active warnings, automatic sanctions, the private message and the log.
The one thing to remember
Every warning counts toward the thresholds, including the ones iHorizon adds by itself. With "5 warnings = kick", a member can be kicked after two spam bursts, a timeout and two warnings, without anyone ever deciding "kick". That's the point of the system, but set your thresholds with the automatic warnings in mind.
Who can warn, and who can't be warned
/mod warnneeds the Discord Timeout Members permission by default. You can give it to a permission level instead with a command rule (for examplemod warn= Perm 3)./mod warnconfig,/mod clearwarnand/mod clear-all-warnsneed Administrator by default,/mod warnlistand/mod unwarnneed Timeout Members. Command rules work on them too.- Nobody can warn themselves, a bot, the server owner, or a member whose highest role is equal to or above their own. The server owner is the only one not held by the role order.
These refusals exist because a warning can sanction: being able to warn someone means being able to get them kicked or banned.
Quick start
- Choose an expiry:
/mod warnconfig expire-days:30. Warnings stop counting after 30 days (leave it at0to keep them forever). - Add your thresholds, one command each:
/mod warnconfig threshold:3 sanction:Timeout duration:1h/mod warnconfig threshold:5 sanction:Kick
- Make sure the logs have a home: a private channel whose name contains
ihorizon-logs, or the Moderation Logs channel of/setlogs(see where the log goes). - Check the role order: iHorizon's role must be above the members it may have to sanction, with the Timeout Members, Kick Members and Ban Members permissions that your thresholds use.
- Warn:
/mod warn member:@Milo reason:Insulting a member note:Second time this week.
From the dashboard
In the dashboard, the Warnings module sets the expiry and the automatic sanctions (Administrator or server owner), and the Warnings tab of the Sanctions module warns members, lists the warned members and removes warnings, with the same rules as the commands.