BotServ: add BOTLIST and AUTOASSIGN default bot
All checks were successful
CI / check (push) Successful in 3m33s

This commit is contained in:
Jean Chevronnet 2026-07-16 00:57:06 +00:00
parent cd6d8b1b93
commit dd43b9a331
No known key found for this signature in database
12 changed files with 162 additions and 0 deletions

View file

@ -441,6 +441,12 @@ impl Store for Db {
fn unassign_bot(&mut self, channel: &str) -> Result<bool, ChanError> {
Db::unassign_bot(self, channel)
}
fn default_bot(&self) -> Option<String> {
Db::default_bot(self).map(str::to_string)
}
fn set_default_bot(&mut self, bot: Option<&str>) -> Result<(), ChanError> {
Db::set_default_bot(self, bot)
}
fn memo_send(&mut self, account: &str, from: &str, text: &str, receipt: bool) -> Result<(), RegError> {
Db::memo_send(self, account, from, text, receipt)
}