make the bot more betterererer
This commit is contained in:
parent
af820871e8
commit
d971c98a5f
|
@ -84,7 +84,6 @@ pub async fn handle_message(p: ChatPacket, client: &mut Client, config: &Arc<RwL
|
|||
}
|
||||
|
||||
if is_parsing_string {
|
||||
client.chat("[bot] Sorry, I don't understand that message. (unclosed string)");
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -93,7 +92,6 @@ pub async fn handle_message(p: ChatPacket, client: &mut Client, config: &Arc<RwL
|
|||
if !is_for_me { return; }
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue