BotServ: add BOTLIST and AUTOASSIGN default bot
All checks were successful
CI / check (push) Successful in 3m33s
All checks were successful
CI / check (push) Successful in 3m33s
This commit is contained in:
parent
cd6d8b1b93
commit
dd43b9a331
12 changed files with 162 additions and 0 deletions
|
|
@ -1119,6 +1119,10 @@ fn audit_summary(event: &db::Event) -> Option<String> {
|
|||
ChannelBotUnassigned { channel } => format!("removed the bot from \x02{channel}\x02"),
|
||||
BotAdded(b) => format!("added bot \x02{}\x02", b.nick),
|
||||
BotRemoved { nick } => format!("removed bot \x02{nick}\x02"),
|
||||
DefaultBotSet { bot } => match bot {
|
||||
Some(b) => format!("set the auto-assign bot to \x02{b}\x02"),
|
||||
None => "cleared the auto-assign bot".to_string(),
|
||||
},
|
||||
VhostOfferAdded { host } => format!("added vhost offer \x02{host}\x02"),
|
||||
VhostOfferRemoved { host } => format!("removed vhost offer \x02{host}\x02"),
|
||||
VhostForbidAdded { pattern } => format!("forbade vhost pattern \x02{pattern}\x02"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue