More fixes

This commit is contained in:
Daniel Odendahl Jr
2018-09-20 17:23:40 +00:00
parent 022121df2b
commit d4abebd338
5 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -53,7 +53,7 @@ module.exports = class EshopCommand extends Command {
? data.game_category_ref.length ? data.game_category_ref[0].title : data.game_category_ref.title
: '???', true)
.addField(' Release Date',
data.release_date ? moment.utc(data.release_date).format('MMM Do, YYYY') : '???', true)
data.release_date ? moment.utc(data.release_date).format('MM/DD/YYYY') : '???', true)
.addField(' Player Count', data.number_of_players || '???', true)
.addField(' DLC?', data.dlc === 'true' ? 'Yes' : 'No', true)
.addField(' Demo?', data.demo === 'true' ? 'Yes' : 'No', true)
+1 -1
View File
@@ -52,7 +52,7 @@ module.exports = class ItunesCommand extends Command {
.setTitle(data.trackName)
.addField(' Artist', data.artistName, true)
.addField(' Album', data.collectionName, true)
.addField(' Release Date', moment.utc(data.releaseDate).format('MMM Do, YYYY'), true)
.addField(' Release Date', moment.utc(data.releaseDate).format('MM/DD/YYYY'), true)
.addField(' Genre', data.primaryGenreName, true);
return msg.embed(embed);
} catch (err) {
+2 -2
View File
@@ -40,8 +40,8 @@ module.exports = class KitsuAnimeCommand extends Command {
.setDescription(shorten(data.synopsis))
.addField(' Type', `${data.showType} - ${data.status}`, true)
.addField(' Episodes', data.episodeCount || '???', true)
.addField(' Start Date', data.startDate ? moment.utc(data.startDate).format('MMM Do, YYYY') : '???', true)
.addField(' End Date', data.endDate ? moment.utc(data.endDate).format('MMM Do, YYYY') : '???', true);
.addField(' Start Date', data.startDate ? moment.utc(data.startDate).format('MM/DD/YYYY') : '???', true)
.addField(' End Date', data.endDate ? moment.utc(data.endDate).format('MM/DD/YYYY') : '???', true);
return msg.embed(embed);
} catch (err) {
return msg.reply(`Oh no, an error occurred: \`${err.message}\`. Try again later!`);
+2 -2
View File
@@ -40,8 +40,8 @@ module.exports = class KitsuMangaCommand extends Command {
.setDescription(shorten(data.synopsis))
.addField(' Type', `${data.subtype} - ${data.status}`, true)
.addField(' Volumes / Chapters', `${data.volumeCount || '???'} / ${data.chapterCount || '???'}`, true)
.addField(' Start Date', data.startDate ? moment.utc(data.startDate).format('MMM Do, YYYY') : '???', true)
.addField(' End Date', data.endDate ? moment.utc(data.endDate).format('MMM Do, YYYY') : '???', true);
.addField(' Start Date', data.startDate ? moment.utc(data.startDate).format('MM/DD/YYYY') : '???', true)
.addField(' End Date', data.endDate ? moment.utc(data.endDate).format('MM/DD/YYYY') : '???', true);
return msg.embed(embed);
} catch (err) {
return msg.reply(`Oh no, an error occurred: \`${err.message}\`. Try again later!`);
+1 -1
View File
@@ -45,7 +45,7 @@ module.exports = class VocaDBCommand extends Command {
.setDescription(data.lyrics.length ? shorten(data.lyrics[0].value) : 'No lyrics available.')
.setThumbnail(data.thumbUrl)
.addField(' Artist', data.artistString)
.addField(' Publish Date', moment.utc(data.publishDate).format('MMM Do, YYYY'), true);
.addField(' Publish Date', moment.utc(data.publishDate).format('MM/DD/YYYY'), true);
return msg.embed(embed);
} catch (err) {
return msg.reply(`Oh no, an error occurred: \`${err.message}\`. Try again later!`);