We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3ce6748 commit 6509073Copy full SHA for 6509073
src/webpage/role.ts
@@ -48,7 +48,7 @@ class Role extends SnowFlake {
48
if (this.color === 0) {
49
return null;
50
}
51
- return `#${this.color.toString(16)}`;
+ return `#${this.color.toString(16).padStart(6, "0")}`;
52
53
canManage() {
54
if (this.guild.member.hasPermission("MANAGE_ROLES")) {
0 commit comments