Chat say functionality #41

Merged
modulatingforce merged 14 commits from chat-say into main 2024-03-24 00:00:48 -04:00
2 changed files with 0 additions and 11 deletions
Showing only changes of commit d372d0dc79 - Show all commits

View file

@ -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

View file

@ -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();