aboutsummaryrefslogtreecommitdiff
path: root/src/lib/common/ConfirmationPrompt.ts
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-02-13 20:39:09 -0500
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-02-13 20:39:09 -0500
commit3d0f8d6284fbff51881ba704f73765100ffc5f47 (patch)
tree43cd14b46b32583cea76b5e0edd709b1c8642636 /src/lib/common/ConfirmationPrompt.ts
parent6a7386a181e788927a4c04e5b39ac2a4275918b6 (diff)
downloadtanzanite-3d0f8d6284fbff51881ba704f73765100ffc5f47.tar.gz
tanzanite-3d0f8d6284fbff51881ba704f73765100ffc5f47.tar.bz2
tanzanite-3d0f8d6284fbff51881ba704f73765100ffc5f47.zip
started working on appeals
Diffstat (limited to 'src/lib/common/ConfirmationPrompt.ts')
-rw-r--r--src/lib/common/ConfirmationPrompt.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/common/ConfirmationPrompt.ts b/src/lib/common/ConfirmationPrompt.ts
index bd11c5c..1f027ef 100644
--- a/src/lib/common/ConfirmationPrompt.ts
+++ b/src/lib/common/ConfirmationPrompt.ts
@@ -31,11 +31,13 @@ export class ConfirmationPrompt {
this.messageOptions.components = [
new ActionRow().addComponents(
new ButtonComponent()
+ // @ts-expect-error: outdated @discord.js/builders
.setStyle(ButtonStyle.Primary)
.setCustomId('confirmationPrompt_confirm')
.setEmoji({ id: util.emojisRaw.successFull, name: 'successFull', animated: false })
.setLabel('Yes'),
new ButtonComponent()
+ // @ts-expect-error: outdated @discord.js/builders
.setStyle(ButtonStyle.Danger)
.setCustomId('confirmationPrompt_cancel')
.setEmoji({ id: util.emojisRaw.errorFull, name: 'errorFull', animated: false })