mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-16 00:12:32 +02:00
Add loyalty for planeswalkers
This commit is contained in:
@@ -68,6 +68,9 @@ module.exports = class MagicCommand extends Command {
|
|||||||
embed.addField('❯ Toughness', card.toughness, true);
|
embed.addField('❯ Toughness', card.toughness, true);
|
||||||
embed.addField('\u200B', '\u200B', true);
|
embed.addField('\u200B', '\u200B', true);
|
||||||
}
|
}
|
||||||
|
if (card.loyalty) {
|
||||||
|
embed.addField('❯ Loyalty', card.loyalty);
|
||||||
|
}
|
||||||
embed.addField('❯ Price', stripIndents`
|
embed.addField('❯ Price', stripIndents`
|
||||||
**Non-Foil:** [${card.prices.usd ? `$${card.prices.usd}` : '???'}](${card.purchase_uris.tcgplayer})
|
**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})
|
**Foil:** [${card.prices.usd_foil ? `$${card.prices.usd_foil}` : '???'}](${card.purchase_uris.tcgplayer})
|
||||||
|
|||||||
Reference in New Issue
Block a user