Skip to content

Commit 5272cec

Browse files
SpaceEECamishshah
authored andcommitted
feat(Util): add WHITE as color resolvable (#3062)
1 parent 359ddaf commit 5272cec

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

src/client/ClientDataResolver.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,7 @@ class ClientDataResolver {
307307
* ```
308308
* [
309309
* 'DEFAULT',
310+
* 'WHITE',
310311
* 'AQUA',
311312
* 'GREEN',
312313
* 'BLUE',

src/util/Constants.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -705,6 +705,7 @@ exports.UserChannelOverrideMap = {
705705

706706
exports.Colors = {
707707
DEFAULT: 0x000000,
708+
WHITE: 0xFFFFFF,
708709
AQUA: 0x1ABC9C,
709710
GREEN: 0x2ECC71,
710711
BLUE: 0x3498DB,

typings/index.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1667,6 +1667,7 @@ declare module 'discord.js' {
16671667
type CollectorOptions = { time?: number };
16681668

16691669
type ColorResolvable = ('DEFAULT'
1670+
| 'WHITE'
16701671
| 'AQUA'
16711672
| 'GREEN'
16721673
| 'BLUE'

0 commit comments

Comments
 (0)