From 3690918c39b5a50e00ebe0debfd2f6b2c9062d2c Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Tue, 14 May 2019 15:16:36 +0000 Subject: [PATCH] Add Spell/Trap type to yugioh --- commands/search/yu-gi-oh.js | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/commands/search/yu-gi-oh.js b/commands/search/yu-gi-oh.js index b0a944cc..4828512e 100644 --- a/commands/search/yu-gi-oh.js +++ b/commands/search/yu-gi-oh.js @@ -49,10 +49,10 @@ module.exports = class YuGiOhCommand extends Command { .setAuthor('Yu-Gi-Oh!', 'https://i.imgur.com/AJNBflD.png', 'http://www.yugioh-card.com/') .setThumbnail(data.image_url) .setFooter(data.id) - .addField('❯ Type', data.type, true); + .addField('❯ Type', data.type, true) + .addField(data.type.includes('Monster') ? '❯ Race' : '❯ Spell Type', data.race, true); if (data.type.includes('Monster')) { embed - .addField('❯ Race', data.race, true) .addField('❯ Attribute', data.attribute, true) .addField('❯ Level', data.level || 'N/A', true) .addField('❯ ATK', formatNumber(data.atk), true) diff --git a/package.json b/package.json index 141d3267..3a704b34 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xiao", - "version": "103.0.3", + "version": "103.0.4", "description": "Your personal server companion.", "main": "Xiao.js", "scripts": {