Add color

This commit is contained in:
Dragon Fire
2024-04-03 18:03:38 -04:00
parent 1256d70f03
commit ca7eef3d95
+1
View File
@@ -57,6 +57,7 @@ module.exports = class MagicCommand extends Command {
const manaCost = isMDFC ? card.card_faces.map(c => c.mana_cost).join(' // ') : card.mana_cost;
const embed = new MessageEmbed()
.setURL(card.scryfall_uri)
.setColor(0x2B253A)
.setThumbnail(card.card_faces ? card.card_faces[0].image_uris.art_crop : card.image_uris.art_crop)
.setDescription(`${manaCost} ${card.type_line}\n\n${oracleText}`)
.setAuthor('Scryfall', logos.scryfall, 'https://scryfall.com/')