More formatting changes

This commit is contained in:
Daniel Odendahl Jr
2018-09-20 20:07:03 +00:00
parent d4abebd338
commit 73ed8536ca
15 changed files with 20 additions and 20 deletions
+2 -2
View File
@@ -47,8 +47,8 @@ module.exports = class GithubCommand extends Command {
.addField(' Forks', body.forks, true)
.addField(' Issues', body.open_issues, true)
.addField(' Language', body.language || '???', true)
.addField(' Creation Date', moment.utc(body.created_at).format('MM/DD/YYYY @ hh:mm:ss A'), true)
.addField(' Modification Date', moment.utc(body.updated_at).format('MM/DD/YYYY @ hh:mm:ss A'), true);
.addField(' Creation Date', moment.utc(body.created_at).format('MM/DD/YYYY h:mm:ss A'), true)
.addField(' Modification Date', moment.utc(body.updated_at).format('MM/DD/YYYY h:mm:ss A'), true);
return msg.embed(embed);
} catch (err) {
if (err.status === 404) return msg.say('Could not find any results.');