diff options
Diffstat (limited to 'src/commands/info')
-rw-r--r-- | src/commands/info/color.ts | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/commands/info/color.ts b/src/commands/info/color.ts index 5268516..d641fd7 100644 --- a/src/commands/info/color.ts +++ b/src/commands/info/color.ts @@ -4,10 +4,8 @@ import { Message, MessageEmbed, Role } from 'discord.js'; import tinycolor from 'tinycolor2'; // this is the only way I got it to work consistently const isValidTinyColor = (_message: Message, phase: string) => { - console.dir(phase); // if the phase is a number it converts it to hex incase it could be representing a color in decimal const newPhase = isNaN(phase as any) ? phase : `#${Number(phase).toString(16)}`; - console.dir(newPhase); return tinycolor(newPhase).isValid() ? newPhase : null; }; |