feat: display the quest type in the title, and change the prefix in dev mode
All checks were successful
Build and Deploy / typecheck (push) Successful in 2m26s
Build and Deploy / build (push) Successful in 1m8s
Build and Deploy / deploy (push) Successful in 2s

This commit is contained in:
2026-08-06 23:58:58 +02:00
parent 8420344519
commit 21ff5454f1
5 changed files with 9 additions and 6 deletions

View File

@@ -13,12 +13,13 @@ export const queteCommand: Command = {
return;
}
const color = parseInt(quest.quest.promoImagePrimaryColor.substring(1), 16);
const emoji = quest.quest.purchasableWithGems ? "💎" : "🪙";
await message.channel.send({
options: noMention,
embeds: [
new EmbedBuilder()
.setTitle("Quête actuelle")
.setDescription(`### Quête actuelle ${emoji}${emoji}${emoji}`)
.setImage(quest.quest.promoImageUrl)
.setColor(color)
],