Chat say functionality #41
2 changed files with 0 additions and 11 deletions
|
@ -304,11 +304,6 @@ impl BotInstance {
|
|||
} else { None }
|
||||
;
|
||||
|
||||
// let inpt = match reply {
|
||||
// None => arg1, // Regular message, use the first arg as the command
|
||||
// Some(_) => arg2, // A reply message, use the 2nd arg as the command
|
||||
// };
|
||||
|
||||
|
||||
let inpt = match reply {
|
||||
None => { // Regular message, use the first arg as the command
|
||||
|
|
|
@ -71,9 +71,6 @@ impl Chat {
|
|||
BotMsgType::Say(a,b ) => {
|
||||
(a.clone(),b.clone())
|
||||
},
|
||||
// _ => {
|
||||
// panic!("ISSUE : NOT IMPLEMENTED")
|
||||
// },
|
||||
};
|
||||
|
||||
if self.client.get_channel_status(channel_login.clone()).await == (false,false) {
|
||||
|
@ -122,9 +119,6 @@ impl Chat {
|
|||
BotMsgType::Say(a, _) => {
|
||||
self.client.say(a, outmsg).await.unwrap();
|
||||
}
|
||||
// _ => {
|
||||
// panic!("ISSUE : NOT IMPLEMENTED")
|
||||
// },
|
||||
}
|
||||
|
||||
contextratelimiter.increment_counter();
|
||||
|
|
Loading…
Reference in a new issue