Skip to content

Commit

Permalink
fix: embed not updating
Browse files Browse the repository at this point in the history
  • Loading branch information
forgetfulskybro committed Aug 18, 2024
1 parent be728f6 commit be9b5a4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/buttons/premium/webhookAvatar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ const button: Button = {
],
} as ModalData).getData(interaction);

data?.modal.deferUpdate();
const value = data?.fieldValues[0].value;
let regex =
/https?:\/\/(www.|i.|cdn.|media.)discordapp\.(com|net)\/attachments\/[^\s]+\/[^\s]+\/[^\s]+(.png|.jpg|.gif|.jpeg|.webp)/g;
Expand Down

0 comments on commit be9b5a4

Please sign in to comment.