From ca44ae8464bc75a2c0ba596e97b7794693921c71 Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Tue, 14 May 2019 15:20:51 +0000 Subject: [PATCH] Only regular normal monsters --- commands/search/yu-gi-oh.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/search/yu-gi-oh.js b/commands/search/yu-gi-oh.js index 28520db8..6bbe3d64 100644 --- a/commands/search/yu-gi-oh.js +++ b/commands/search/yu-gi-oh.js @@ -45,7 +45,7 @@ module.exports = class YuGiOhCommand extends Command { .setColor(0xBE5F1F) .setTitle(data.name) .setURL(`https://db.ygoprodeck.com/card/?search=${data.id}`) - .setDescription(data.type.includes('Normal Monster') ? `_${shorten(data.desc)}_` : shorten(data.desc)) + .setDescription(data.type === 'Normal Monster' ? `_${shorten(data.desc)}_` : shorten(data.desc)) .setAuthor('Yu-Gi-Oh!', 'https://i.imgur.com/AJNBflD.png', 'http://www.yugioh-card.com/') .setThumbnail(data.image_url) .setFooter(data.id)