make meme detection a little more strict
http isn’t real
This commit is contained in:
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]
|
||||||
|
Loading…
Reference in New Issue
Block a user