Remove seconds when not neccessary

This commit is contained in:
Daniel Odendahl Jr
2018-09-20 20:09:11 +00:00
parent 73ed8536ca
commit 46803dfb98
15 changed files with 20 additions and 20 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ module.exports = class RoleInfoCommand extends Command {
.addField(' Name', role.name, true)
.addField(' ID', role.id, true)
.addField(' Color', role.hexColor.toUpperCase(), true)
.addField(' Creation Date', moment.utc(role.createdAt).format('MM/DD/YYYY h:mm:ss A'), true)
.addField(' Creation Date', moment.utc(role.createdAt).format('MM/DD/YYYY h:mm A'), true)
.addField(' Hoisted?', role.hoist ? 'Yes' : 'No', true)
.addField(' Mentionable?', role.mentionable ? 'Yes' : 'No', true)
.addField(' Permissions', perms.map(perm => permissions[perm]).join(', ') || 'None');