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
+2 -2
View File
@@ -44,8 +44,8 @@ module.exports = class KickstarterCommand extends Command {
.addField(' Pledged', `$${data.pledged}`, true)
.addField(' Backers', data.backers_count, true)
.addField(' Creator', data.creator.name, true)
.addField(' Creation Date', moment.utc(data.created_at * 1000).format('MMM Do, YYYY [at] hh:mm:ss A'), true)
.addField(' Deadline', moment.utc(data.deadline * 1000).format('MMM Do, YYYY [at] hh:mm:ss A'), true);
.addField(' Creation Date', moment.utc(data.created_at * 1000).format('MM/DD/YYYY @ hh:mm:ss A'), true)
.addField(' Deadline', moment.utc(data.deadline * 1000).format('MM/DD/YYYY @ hh:mm:ss A'), true);
return msg.embed(embed);
} catch (err) {
return msg.reply(`Oh no, an error occurred: \`${err.message}\`. Try again later!`);