make the bot more betterererer

This commit is contained in:
core 2023-07-17 19:37:02 -04:00
parent af820871e8
commit d971c98a5f
Signed by: core
GPG Key ID: FDBF740DADDCEECF
1 changed files with 0 additions and 2 deletions

View File

@ -84,7 +84,6 @@ pub async fn handle_message(p: ChatPacket, client: &mut Client, config: &Arc<RwL
} }
if is_parsing_string { if is_parsing_string {
client.chat("[bot] Sorry, I don't understand that message. (unclosed string)");
return; return;
} }
@ -93,7 +92,6 @@ pub async fn handle_message(p: ChatPacket, client: &mut Client, config: &Arc<RwL
if !is_for_me { return; } if !is_for_me { return; }
if components[0] == format!("!@{}", config.read().await.relay.username) && components.len() == 1 { if components[0] == format!("!@{}", config.read().await.relay.username) && components.len() == 1 {
client.chat("[bot] Sorry, I don't understand that message. (missing command)");
return; return;
} }