From 520810d48411013307ca310f0eff988a210266ca Mon Sep 17 00:00:00 2001 From: izexi <43889168+izexi@users.noreply.github.com> Date: Sun, 14 Apr 2019 13:58:33 +0100 Subject: [PATCH] feat(Util): add YELLOW to ColorResolvable (#3182) --- src/util/Constants.js | 1 + src/util/Util.js | 1 + typings/index.d.ts | 2 ++ 3 files changed, 4 insertions(+) diff --git a/src/util/Constants.js b/src/util/Constants.js index dfd370f71..f314d3d6f 100644 --- a/src/util/Constants.js +++ b/src/util/Constants.js @@ -422,6 +422,7 @@ exports.Colors = { AQUA: 0x1ABC9C, GREEN: 0x2ECC71, BLUE: 0x3498DB, + YELLOW: 0xFFFF00, PURPLE: 0x9B59B6, LUMINOUS_VIVID_PINK: 0xE91E63, GOLD: 0xF1C40F, diff --git a/src/util/Util.js b/src/util/Util.js index bbf838e46..700c519bc 100644 --- a/src/util/Util.js +++ b/src/util/Util.js @@ -251,6 +251,7 @@ class Util { * - `AQUA` * - `GREEN` * - `BLUE` + * - `YELLOW` * - `PURPLE` * - `LUMINOUS_VIVID_PINK` * - `GOLD` diff --git a/typings/index.d.ts b/typings/index.d.ts index 3ad8789db..673104f7d 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -1685,9 +1685,11 @@ declare module 'discord.js' { } type ColorResolvable = 'DEFAULT' + | 'WHITE' | 'AQUA' | 'GREEN' | 'BLUE' + | 'YELLOW' | 'PURPLE' | 'LUMINOUS_VIVID_PINK' | 'GOLD'