added roblox to cring word
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user