Update gateway message

This commit is contained in:
Sir Mangler
2024-05-04 18:34:04 +01:00
committed by GitHub
parent 339cdd71c2
commit 890a6decd4

View File

@@ -21,7 +21,7 @@ impl EventHandler for Handler {
}
let ctx = Arc::new(ctx);
let gateway_raw: &'static str = "Piracy is illegal, so I will not talk about downloading games or copyrighted content even if I have owned another copy in the past, as that is still illegal under US law.";
let gateway_raw: &'static str = "This server does not tolerate piracy in any form. I will be banned if I ask for downloads, if I share links or website names for piracy sites, if I admit that I have pirated, or if I advocate for piracy.";
let pattern = Regex::new(r"[*,.-` ><!]").unwrap();
let clean = pattern.replace_all(&msg.content, "").to_lowercase();
@@ -85,4 +85,4 @@ async fn main() {
if let Err(why) = client.start().await {
println!("Client error: {:?}", why);
}
}
}