Only regular normal monsters

This commit is contained in:
Daniel Odendahl Jr
2019-05-14 15:20:51 +00:00
parent 91ce199b12
commit ca44ae8464
+1 -1
View File
@@ -45,7 +45,7 @@ module.exports = class YuGiOhCommand extends Command {
.setColor(0xBE5F1F)
.setTitle(data.name)
.setURL(`https://db.ygoprodeck.com/card/?search=${data.id}`)
.setDescription(data.type.includes('Normal Monster') ? `_${shorten(data.desc)}_` : shorten(data.desc))
.setDescription(data.type === 'Normal Monster' ? `_${shorten(data.desc)}_` : shorten(data.desc))
.setAuthor('Yu-Gi-Oh!', 'https://i.imgur.com/AJNBflD.png', 'http://www.yugioh-card.com/')
.setThumbnail(data.image_url)
.setFooter(data.id)