From d372d0dc791629f6bebaa7eb3862f48878f42b15 Mon Sep 17 00:00:00 2001 From: ModulatingForce <116608425+modulatingforce@users.noreply.github.com> Date: Sat, 23 Mar 2024 20:14:42 -0400 Subject: [PATCH] comments cleanup --- src/core/botinstance.rs | 5 ----- src/core/chat.rs | 6 ------ 2 files changed, 11 deletions(-) diff --git a/src/core/botinstance.rs b/src/core/botinstance.rs index e8b8793..7c6f33b 100644 --- a/src/core/botinstance.rs +++ b/src/core/botinstance.rs @@ -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 diff --git a/src/core/chat.rs b/src/core/chat.rs index 8761516..370fcf5 100644 --- a/src/core/chat.rs +++ b/src/core/chat.rs @@ -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();