Remove commands that no longer work, fix others

This commit is contained in:
Daniel Odendahl Jr
2019-01-31 20:02:34 +00:00
parent 649cf16709
commit 69c1b4d2cf
12 changed files with 12 additions and 139 deletions
+1 -2
View File
@@ -44,8 +44,7 @@ module.exports = class BookCommand extends Command {
.setThumbnail(data.imageLinks ? data.imageLinks.thumbnail : null)
.addField(' Authors', data.authors.length ? data.authors.join(', ') : '???')
.addField(' Publish Date', data.publishedDate || '???', true)
.addField(' Page Count', data.pageCount ? formatNumber(data.pageCount) : '???', true)
.addField(' Genres', data.categories.length ? data.categories.join(', ') : '???');
.addField(' Page Count', data.pageCount ? formatNumber(data.pageCount) : '???', true);
return msg.embed(embed);
} catch (err) {
return msg.reply(`Oh no, an error occurred: \`${err.message}\`. Try again later!`);