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
@@ -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('MMM Do, YYYY [at] hh:mm:ss A'), true)
.addField(' Creation Date', moment.utc(role.createdAt).format('MM/DD/YYYY @ hh:mm:ss 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');