From ff534783a0e2cb0f9dc97e6caf592ee8bb04112a Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Tue, 30 Apr 2019 00:09:50 +0000 Subject: [PATCH] Link monsters have no level --- 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 f6f45a73..af8911ee 100644 --- a/commands/search/yu-gi-oh.js +++ b/commands/search/yu-gi-oh.js @@ -53,7 +53,7 @@ module.exports = class YuGiOhCommand extends Command { embed .addField('❯ Race', data.race, true) .addField('❯ Attribute', data.attribute, true) - .addField('❯ Level', data.level, true) + .addField('❯ Level', data.level || 'N/A', true) .addField('❯ ATK', formatNumber(data.atk), true) .addField( data.type === 'Link Monster' ? '❯ Link Value' : '❯ DEF',