BotServ: KICK <#channel> WARN — one warning before the first kick

With WARN on, a user's first kicker offence gets a private warning from
the bot instead of a kick; the next one is kicked (and then TTB can ban).
The warned flag rides the existing per-user chatter state.
This commit is contained in:
Jean Chevronnet 2026-07-13 17:57:40 +00:00
parent c8be5b4e95
commit 47b1fd351e
No known key found for this signature in database
4 changed files with 44 additions and 1 deletions

View file

@ -425,6 +425,8 @@ pub enum Kicker {
Repeat,
// Kick lines matching a configured badword regex (patterns via BADWORDS).
Badwords,
// Modifier: warn once before the first kick.
Warn,
// Exemption, not a rule: never kick channel operators.
DontKickOps,
}