diff --git a/structure/client/components/commands/information/User.js b/structure/client/components/commands/information/User.js index 53bbb31..408f726 100644 --- a/structure/client/components/commands/information/User.js +++ b/structure/client/components/commands/information/User.js @@ -199,8 +199,12 @@ class UserCommand extends Command { // }).join(' ') // }); - const highestColouredRole = member.roles.cache.filter((role) => role.color !== 0).sort((a, b) => b.rawPosition - a.rawPosition).first(); - if (highestColouredRole) response.color = highestColouredRole.color; + // const highestColouredRole = member.roles.cache.filter((role) => role.color !== 0).sort((a, b) => b.rawPosition - a.rawPosition).first(); + // if (highestColouredRole) response.color = highestColouredRole.color; + + const colour = member.highestRoleColor; + if (colour) response.color = colour; + } }