fix color
This commit is contained in:
parent
745f26c174
commit
9c8b81049b
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ class userInfoCommand extends Command {
|
|||
let member = message.guild.member(user);
|
||||
|
||||
const Embed = this.client.util.embed()
|
||||
.setColor(member.displayHexColor)
|
||||
.setColor(message.member ? message.member.displayHexColor : 'NAVY')
|
||||
.setAuthor(`${user.tag} (${user.id})`, user.displayAvatarURL())
|
||||
.addField('Current rank hex color', member.displayHexColor, true)
|
||||
.addField('Joined guild at', member.joinedAt, true)
|
||||
|
|
Loading…
Reference in a new issue