Attempt to fix "I love cheese" bug

This commit is contained in:
Jeff 2024-07-02 14:20:30 -04:00
parent f7ce6f5981
commit c1e15672a8

View File

@ -142,9 +142,6 @@ impl Bot {
if content == "cheese" {
info!("{} loves cheese!", sender_info.player_alias);
let uid = self.find_uid(&sender_info.player_alias)?;
if self.client.group_members().contains_key(&uid) {
let content = format!("{} loves cheese!", sender_info.player_alias);
match &message.chat_type {
@ -153,7 +150,6 @@ impl Bot {
}
_ => self.client.send_command("group".to_string(), vec![content]),
}
}
return Ok(());
}