mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Add Spell/Trap type to yugioh
This commit is contained in:
@@ -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
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "xiao",
|
||||
"version": "103.0.3",
|
||||
"version": "103.0.4",
|
||||
"description": "Your personal server companion.",
|
||||
"main": "Xiao.js",
|
||||
"scripts": {
|
||||
|
||||
Reference in New Issue
Block a user