From 68b8799ab166c35aa759d965ed0f9e912fa679d7 Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Tue, 21 Mar 2017 23:59:44 +0000 Subject: [PATCH] another yugioh fix --- commands/search/yugioh.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/search/yugioh.js b/commands/search/yugioh.js index 8179b9b8..c754301d 100644 --- a/commands/search/yugioh.js +++ b/commands/search/yugioh.js @@ -48,7 +48,7 @@ module.exports = class YuGiOhCommand extends commando.Command { .setDescription(response.body.data.text) .setAuthor('Yu-Gi-Oh!', 'http://vignette3.wikia.nocookie.net/yugioh/images/1/10/Back-TF-EN-VG.png/revision/latest?cb=20120824043558') .addField('**Card Type:**', - response.data.body.card_type, true); + response.body.data.card_type, true); message.channel.sendEmbed(embed).catch(console.error); } }).catch(function (err) {