From 704ebfa9fd6bd01c8be244f3f53a680180e5207d Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Sun, 7 Apr 2024 01:35:53 -0400 Subject: [PATCH] Add loyalty for planeswalkers --- commands/search/magic.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/commands/search/magic.js b/commands/search/magic.js index d4a2045b..37d35a60 100644 --- a/commands/search/magic.js +++ b/commands/search/magic.js @@ -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})