This commit is contained in:
Jeff 2024-06-13 00:17:01 -04:00
parent 91d71deb1d
commit d57ec784f1

View File

@ -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());
}
_ => {}
}
}