Skip to content

Commit

Permalink
no copypasta
Browse files Browse the repository at this point in the history
  • Loading branch information
tazz4843 committed Dec 12, 2023
1 parent 4197f7f commit a569a35
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions scripty_bot_utils/src/dm_support.rs
Original file line number Diff line number Diff line change
Expand Up @@ -267,14 +267,7 @@ impl DmSupportStatus {
}

let hook = channel
.create_webhook(
ctx,
CreateWebhook::new("Scripty").avatar(
&CreateAttachment::url(ctx, "https://i.imgur.com/7QZvZ4e.png")
.await
.expect("failed to handle message attachments"),
),
)
.create_webhook(ctx, CreateWebhook::new("Scripty"))
.await
.expect("failed to create webhook");
self.webhook_cache.insert(*channel, hook.clone());
Expand Down

0 comments on commit a569a35

Please sign in to comment.