Embed style, better yugioh api

This commit is contained in:
Daniel Odendahl Jr
2018-04-20 13:15:38 +00:00
parent a880d2578b
commit 116582e6a8
35 changed files with 207 additions and 384 deletions
+1 -2
View File
@@ -32,8 +32,7 @@ module.exports = class NeopetItemCommand extends Command {
.setDescription(data.details)
.setURL(data.url)
.setThumbnail(data.image)
.addField(' Price',
data.price ? `${data.price} ${data.currency}` : 'Not for Sale');
.addField(' Price', data.price ? `${data.price} ${data.currency}` : 'Not for Sale');
return msg.embed(embed);
} catch (err) {
return msg.reply(`Oh no, an error occurred: \`${err.message}\`. Try again later!`);