diff options
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/common/ConfirmationPrompt.ts | 4 | ||||
-rw-r--r-- | src/lib/extensions/discord-akairo/BushClientUtil.ts | 4 | ||||
-rw-r--r-- | src/lib/utils/BushConstants.ts | 19 |
3 files changed, 25 insertions, 2 deletions
diff --git a/src/lib/common/ConfirmationPrompt.ts b/src/lib/common/ConfirmationPrompt.ts index 97f18b3..bd11c5c 100644 --- a/src/lib/common/ConfirmationPrompt.ts +++ b/src/lib/common/ConfirmationPrompt.ts @@ -33,12 +33,12 @@ export class ConfirmationPrompt { new ButtonComponent() .setStyle(ButtonStyle.Primary) .setCustomId('confirmationPrompt_confirm') - .setEmoji({ id: util.emojis.successFull, name: 'successFull', animated: false }) + .setEmoji({ id: util.emojisRaw.successFull, name: 'successFull', animated: false }) .setLabel('Yes'), new ButtonComponent() .setStyle(ButtonStyle.Danger) .setCustomId('confirmationPrompt_cancel') - .setEmoji({ id: util.emojis.errorFull, name: 'errorFull', animated: false }) + .setEmoji({ id: util.emojisRaw.errorFull, name: 'errorFull', animated: false }) .setLabel('No') ) ]; diff --git a/src/lib/extensions/discord-akairo/BushClientUtil.ts b/src/lib/extensions/discord-akairo/BushClientUtil.ts index 7a4d5b0..09dd84d 100644 --- a/src/lib/extensions/discord-akairo/BushClientUtil.ts +++ b/src/lib/extensions/discord-akairo/BushClientUtil.ts @@ -195,6 +195,10 @@ export class BushClientUtil extends ClientUtil { return client.consts.emojis; } + get emojisRaw() { + return client.consts.emojisRaw; + } + /** * Fetches a user's uuid from the mojang api. * @param username The username to get the uuid of. diff --git a/src/lib/utils/BushConstants.ts b/src/lib/utils/BushConstants.ts index 39f3299..4012054 100644 --- a/src/lib/utils/BushConstants.ts +++ b/src/lib/utils/BushConstants.ts @@ -65,6 +65,25 @@ export class BushConstants { check: '<:check:878320135297961995>' } as const); + public static emojisRaw = Object.freeze({ + success: '837109864101707807', + warn: '848726900876247050', + error: '837123021016924261', + successFull: '850118767576088646', + warnFull: '850118767391539312', + errorFull: '850118767295201350', + mad: '783046135392239626', + join: '850198029809614858', + leave: '850198048205307919', + loading: '853419254619963392', + offlineCircle: '787550565382750239', + dndCircle: '787550487633330176', + idleCircle: '787550520956551218', + onlineCircle: '787550449435803658', + cross: '878319362539421777', + check: '878320135297961995' + } as const); + public static colors = Object.freeze({ default: 0x1fd8f1, error: 0xef4947, |