From 60f22ed962f7a857226d19718a19e42487d7355d Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Sun, 7 Apr 2024 01:30:16 -0400 Subject: [PATCH] Fix --- commands/search/magic.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/search/magic.js b/commands/search/magic.js index 6cb48377..e4401a21 100644 --- a/commands/search/magic.js +++ b/commands/search/magic.js @@ -63,7 +63,7 @@ module.exports = class MagicCommand extends Command { .setDescription(`${manaCost} ${card.type_line}\n\n${oracleText}`) .setAuthor('Scryfall', logos.scryfall, 'https://scryfall.com/') .setTitle(card.name) - if (card.type_line.includes('Creature')) { + if (card.power && card.toughness) { embed.addField('❯ Power', card.power, true); embed.addField('❯ Toughness', card.toughness, true); embed.addField('\u200B', '\u200B', true);