feat: display the quest type in the title, and change the prefix in dev mode
This commit is contained in:
@@ -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)
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user