mirror of
https://github.com/danbulant/discord.js
synced 2026-09-20 15:04:09 +00:00
Webpack build for branch master: 10f98d8e57
This commit is contained in:
parent
9569afff1c
commit
07269365a7
2 changed files with 2 additions and 4 deletions
|
|
@ -3364,9 +3364,7 @@ class Role extends Base {
|
||||||
* @readonly
|
* @readonly
|
||||||
*/
|
*/
|
||||||
get hexColor() {
|
get hexColor() {
|
||||||
let col = this.color.toString(16);
|
return `#${this.color.toString(16).padStart(6, '0')}`;
|
||||||
while (col.length < 6) col = `0${col}`;
|
|
||||||
return `#${col}`;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
2
discord.master.min.js
vendored
2
discord.master.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue