Change to just P/T

This commit is contained in:
Dragon Fire
2024-04-07 01:32:03 -04:00
parent 60f22ed962
commit d7377fff2d
+1 -3
View File
@@ -64,9 +64,7 @@ module.exports = class MagicCommand extends Command {
.setAuthor('Scryfall', logos.scryfall, 'https://scryfall.com/')
.setTitle(card.name)
if (card.power && card.toughness) {
embed.addField(' Power', card.power, true);
embed.addField(' Toughness', card.toughness, true);
embed.addField('\u200B', '\u200B', true);
embed.addField(' P/T', `${card.power}/${card.toughness}`);
}
embed.addField(' Price', stripIndents`
**Non-Foil:** [${card.prices.usd ? `$${card.prices.usd}` : '???'}](${card.purchase_uris.tcgplayer})