Actually fix the color
This commit is contained in:
parent
9c8b81049b
commit
63083caa49
1 changed files with 1 additions and 2 deletions
|
@ -29,9 +29,8 @@ class userInfoCommand extends Command {
|
||||||
}
|
}
|
||||||
|
|
||||||
let member = message.guild.member(user);
|
let member = message.guild.member(user);
|
||||||
|
|
||||||
const Embed = this.client.util.embed()
|
const Embed = this.client.util.embed()
|
||||||
.setColor(message.member ? message.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.displayHexColor, true)
|
||||||
.addField('Joined guild at', member.joinedAt, true)
|
.addField('Joined guild at', member.joinedAt, true)
|
||||||
|
|
Loading…
Reference in a new issue