From d57ec784f1076e054426ebaa15cbdf744e8ba65b Mon Sep 17 00:00:00 2001 From: Jeff Date: Thu, 13 Jun 2024 00:17:01 -0400 Subject: [PATCH] Clean up --- src/bot.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/bot.rs b/src/bot.rs index 05bfd49..bedc6b5 100644 --- a/src/bot.rs +++ b/src/bot.rs @@ -123,6 +123,10 @@ impl Bot { self.ban_players(names)?; } } + "cheese" => { + self.client.chat_mode = ChatMode::Group; + self.client.send_chat("I love cheese!".to_string()); + } "inv" => { if !self.ban_list.contains(sender) { self.invite_players(names) @@ -133,10 +137,6 @@ impl Bot { self.kick_players(names) } } - "cheese" => { - self.client.chat_mode = ChatMode::Group; - self.client.send_chat("I love cheese!".to_string()); - } _ => {} } }