(init) say require parent module
This commit is contained in:
parent
7e5e43fec3
commit
ee0b9ee196
6 changed files with 344 additions and 81 deletions
src/core
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue