Skip to content

Commit

Permalink
Update gateway message
Browse files Browse the repository at this point in the history
  • Loading branch information
SirMangler committed May 4, 2024
1 parent 339cdd7 commit 890a6de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -85,4 +85,4 @@ async fn main() {
if let Err(why) = client.start().await {
println!("Client error: {:?}", why);
}
}
}

0 comments on commit 890a6de

Please sign in to comment.