comments cleanup
This commit is contained in:
parent
098f16ce87
commit
d372d0dc79
2 changed files with 0 additions and 11 deletions
|
@ -304,11 +304,6 @@ impl BotInstance {
|
||||||
} else { None }
|
} 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 {
|
let inpt = match reply {
|
||||||
None => { // Regular message, use the first arg as the command
|
None => { // Regular message, use the first arg as the command
|
||||||
|
|
|
@ -71,9 +71,6 @@ impl Chat {
|
||||||
BotMsgType::Say(a,b ) => {
|
BotMsgType::Say(a,b ) => {
|
||||||
(a.clone(),b.clone())
|
(a.clone(),b.clone())
|
||||||
},
|
},
|
||||||
// _ => {
|
|
||||||
// panic!("ISSUE : NOT IMPLEMENTED")
|
|
||||||
// },
|
|
||||||
};
|
};
|
||||||
|
|
||||||
if self.client.get_channel_status(channel_login.clone()).await == (false,false) {
|
if self.client.get_channel_status(channel_login.clone()).await == (false,false) {
|
||||||
|
@ -122,9 +119,6 @@ impl Chat {
|
||||||
BotMsgType::Say(a, _) => {
|
BotMsgType::Say(a, _) => {
|
||||||
self.client.say(a, outmsg).await.unwrap();
|
self.client.say(a, outmsg).await.unwrap();
|
||||||
}
|
}
|
||||||
// _ => {
|
|
||||||
// panic!("ISSUE : NOT IMPLEMENTED")
|
|
||||||
// },
|
|
||||||
}
|
}
|
||||||
|
|
||||||
contextratelimiter.increment_counter();
|
contextratelimiter.increment_counter();
|
||||||
|
|
Loading…
Reference in a new issue