no rank color
This commit is contained in:
parent
63083caa49
commit
24a994308c
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ class userInfoCommand extends Command {
|
||||||
const Embed = this.client.util.embed()
|
const Embed = this.client.util.embed()
|
||||||
.setColor(member ? member.displayHexColor : 'NAVY')
|
.setColor(member ? member.displayHexColor : 'NAVY')
|
||||||
.setAuthor(`${user.tag} (${user.id})`, user.displayAvatarURL())
|
.setAuthor(`${user.tag} (${user.id})`, user.displayAvatarURL())
|
||||||
.addField('Current rank hex color', member.displayHexColor, true)
|
.addField('Current rank hex color', member ? member.displayHexColor : 'No rank color', true)
|
||||||
.addField('Joined guild at', member.joinedAt, true)
|
.addField('Joined guild at', member.joinedAt, true)
|
||||||
.addField('Date when account created', user.createdAt, true)
|
.addField('Date when account created', user.createdAt, true)
|
||||||
.setTimestamp();
|
.setTimestamp();
|
||||||
|
|
Loading…
Reference in a new issue