Add loyalty for planeswalkers

This commit is contained in:
Dragon Fire
2024-04-07 01:35:53 -04:00
parent 9f7ffa0dbb
commit 704ebfa9fd
+3
View File
@@ -68,6 +68,9 @@ module.exports = class MagicCommand extends Command {
embed.addField(' Toughness', card.toughness, true);
embed.addField('\u200B', '\u200B', true);
}
if (card.loyalty) {
embed.addField(' Loyalty', card.loyalty);
}
embed.addField(' Price', stripIndents`
**Non-Foil:** [${card.prices.usd ? `$${card.prices.usd}` : '???'}](${card.purchase_uris.tcgplayer})
**Foil:** [${card.prices.usd_foil ? `$${card.prices.usd_foil}` : '???'}](${card.purchase_uris.tcgplayer})