aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-02-23 19:42:01 -0500
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-02-23 19:42:01 -0500
commit47aede9d2ad73c3a386ff64c715193ccd46016b2 (patch)
treea549c1068daad0c4f24f8849f46d2f3511f024c3
parent2a6dfeb82eaa66b202c9f666c27e9518cdb76527 (diff)
downloadtanzanite-47aede9d2ad73c3a386ff64c715193ccd46016b2.tar.gz
tanzanite-47aede9d2ad73c3a386ff64c715193ccd46016b2.tar.bz2
tanzanite-47aede9d2ad73c3a386ff64c715193ccd46016b2.zip
fix(ConfirmationPrompt): make buttons legible
-rw-r--r--src/lib/common/ConfirmationPrompt.ts12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/lib/common/ConfirmationPrompt.ts b/src/lib/common/ConfirmationPrompt.ts
index bd11c5c..2dc943a 100644
--- a/src/lib/common/ConfirmationPrompt.ts
+++ b/src/lib/common/ConfirmationPrompt.ts
@@ -30,16 +30,8 @@ export class ConfirmationPrompt {
protected async send(): Promise<boolean> {
this.messageOptions.components = [
new ActionRow().addComponents(
- new ButtonComponent()
- .setStyle(ButtonStyle.Primary)
- .setCustomId('confirmationPrompt_confirm')
- .setEmoji({ id: util.emojisRaw.successFull, name: 'successFull', animated: false })
- .setLabel('Yes'),
- new ButtonComponent()
- .setStyle(ButtonStyle.Danger)
- .setCustomId('confirmationPrompt_cancel')
- .setEmoji({ id: util.emojisRaw.errorFull, name: 'errorFull', animated: false })
- .setLabel('No')
+ new ButtonComponent().setStyle(ButtonStyle.Success).setCustomId('confirmationPrompt_confirm').setLabel('Yes'),
+ new ButtonComponent().setStyle(ButtonStyle.Danger).setCustomId('confirmationPrompt_cancel').setLabel('No')
)
];