Add Spell/Trap type to yugioh

This commit is contained in:
Daniel Odendahl Jr
2019-05-14 15:16:36 +00:00
parent 5cd13e43b1
commit 3690918c39
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -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)
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "xiao",
"version": "103.0.3",
"version": "103.0.4",
"description": "Your personal server companion.",
"main": "Xiao.js",
"scripts": {