Skip to content

Commit

Permalink
closer approximate PK's autoproxy break behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
Ruthenic committed Feb 15, 2024
1 parent 9453bd7 commit f77e068
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/events/on_message.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ pub async fn run(ctx: &SerenityContext, data: &Data, message: &Message) -> Resul
let mut mate = get_matching_mate(&mates, &message.content);

if message.content.starts_with("\\") {
return Ok(());
}
if message.content.starts_with("\\\\") {
update_latch(&settings_collection, message, None).await?;

return Ok(());
Expand Down

0 comments on commit f77e068

Please sign in to comment.