echo/botserv
Jean 929a4cdd92
BotServ: TRIGGER — regex auto-responses
TRIGGER <#channel> ADD <regex>|<response> | DEL <num> | LIST | CLEAR: when
a channel line matches <regex>, the assigned bot says <response> ($nick
becomes the speaker's nick). Only the first matching trigger fires, and a
line the bot just kicked for gets no response.

Same engine machinery as badwords: patterns compile into one RegexSet per
channel (linear-time, ReDoS-safe), cached and rebuilt only on a revision
change. Patterns validated + size-limited at add time.
2026-07-13 18:03:46 +00:00
..
src BotServ: TRIGGER — regex auto-responses 2026-07-13 18:03:46 +00:00
Cargo.toml botserv: bot registry + BOT ADD/DEL/LIST (first slice) 2026-07-13 04:33:27 +00:00