From 798ac7a574d903c07a2d576ddd6789fade7f9dc0 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Thu, 10 Sep 2020 10:32:59 -0400 Subject: [PATCH] Fix --- 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 522cdc48..55f2d6ee 100644 --- a/commands/search/yu-gi-oh.js +++ b/commands/search/yu-gi-oh.js @@ -51,7 +51,7 @@ module.exports = class YuGiOhCommand extends Command { .setURL(`https://db.ygoprodeck.com/card/?search=${data.id}`) .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.card_images.image_url) + .setThumbnail(data.card_images[0].image_url) .setFooter(data.id) .addField('❯ Type', data.type, true) .addField(data.type.includes('Monster') ? '❯ Race' : '❯ Spell Type', data.race, true);