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:
parent
c8be5b4e95
commit
47b1fd351e
4 changed files with 44 additions and 1 deletions
|
|
@ -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,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue