async botnotif
This commit is contained in:
parent
e73bd75de9
commit
e3718688a7
4 changed files with 213 additions and 40 deletions
src/core
|
@ -169,6 +169,7 @@ impl BotInstance {
|
|||
|
||||
match message {
|
||||
ServerMessage::Notice(msg) => {
|
||||
dbg!("NOTICE TRIGGERED",msg.clone());
|
||||
botlog::notice(
|
||||
format!("NOTICE : (#{:?}) {}", msg.channel_login, msg.message_text)
|
||||
.as_str(),
|
||||
|
@ -536,6 +537,8 @@ impl BotInstance {
|
|||
Some(msg),
|
||||
);
|
||||
|
||||
dbg!("Running botcommand");
|
||||
|
||||
let a = Arc::clone(&bot);
|
||||
c.execute(ExecBodyParams {
|
||||
bot : a,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue