Skip to content

Commit

Permalink
Should not have tested this in prod
Browse files Browse the repository at this point in the history
  • Loading branch information
Kile committed Mar 31, 2024
1 parent 9ebce0c commit 2b4ac05
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/events/dot_remover.rs
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ impl EventHandler for DotHandler {

let http = Http::new("");
let builder = ExecuteWebhook::new()
.content(text.unwrap() + ".") // LET THERE BE DOTS
.content(msg.content.clone() + ".") // LET THERE BE DOTS
.username(&name)
.avatar_url(&avatar);
webhook
Expand Down Expand Up @@ -443,7 +443,7 @@ impl EventHandler for DotHandler {
};

let builder = ExecuteWebhook::new()
.content(text.unwrap() + ".") // LET THERE BE DOTS
.content(event.clone().content.unwrap() + ".") // LET THERE BE DOTS
.username(&name)
.avatar_url(&avatar);
webhook
Expand Down

0 comments on commit 2b4ac05

Please sign in to comment.