mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-17 08:17:35 +02:00
Format better
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user