(init) say require parent module

This commit is contained in:
ModulatingForce 2024-03-24 16:59:50 -04:00
commit ee0b9ee196
6 changed files with 344 additions and 81 deletions

View file

@ -412,7 +412,10 @@ impl BotInstance {
let botlock = bot.read().await;
let outstr =
format!("sadg Module is disabled : {:?}",a);
botlock.botmgrs.chat.say_in_reply_to(msg, outstr).await;
botlock.botmgrs.chat.say_in_reply_to(
msg,
outstr,
c.module.clone()).await;
}
return;
@ -451,7 +454,11 @@ impl BotInstance {
let botlock = bot.read().await;
let outstr =
"o7 a Mod. I kneel to serve! pepeKneel ".to_string();
botlock.botmgrs.chat.say_in_reply_to(msg, outstr).await;
botlock.botmgrs.chat.say_in_reply_to(
msg,
outstr,
c.module.clone(),
).await;
}
}