make meme detection a little more strict

http isn’t real
This commit is contained in:
kageru 2024-10-15 13:59:45 +02:00
parent 50e0e28296
commit 23a54a3197

@ -67,7 +67,7 @@ async fn react(
} }
fn is_meme(msg: &Message) -> bool { fn is_meme(msg: &Message) -> bool {
!msg.attachments.is_empty() || msg.content.to_lowercase().contains("http") !msg.attachments.is_empty() || msg.content.to_lowercase().contains("https://")
} }
#[tokio::main] #[tokio::main]