Format better

This commit is contained in:
Daniel Odendahl Jr
2018-09-20 17:21:42 +00:00
parent 78c51d5898
commit 022121df2b
19 changed files with 26 additions and 30 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 [at] hh:mm:ss A') : '???', true)
data.release_date ? moment.utc(data.release_date).format('MMM Do, 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)