added roblox to cring word

This commit is contained in:
linlyboi
2022-08-10 08:07:47 +02:00
parent 59f7489939
commit 3d54222185

View File

@@ -82,7 +82,7 @@ async fn main() {
} }
fn get_response(txt: &str) -> String { fn get_response(txt: &str) -> String {
//hard coded for now but will change later pls no bully //hard coded for now but will change later pls no bully
const CRING_WORDS: [&str; 3] = ["arch btw","garuda","dragon ball legends"]; const CRING_WORDS: [&str; 3] = ["arch btw","garuda","dragon ball legends", "roblox"];
for cring in CRING_WORDS { for cring in CRING_WORDS {
if txt.to_lowercase().contains(&cring) { if txt.to_lowercase().contains(&cring) {
return "you just posted cringe".to_string(); return "you just posted cringe".to_string();