From 68e9ef50105bbbc02a36999db742f42426389ff0 Mon Sep 17 00:00:00 2001 From: IRONM00N <64110067+IRONM00N@users.noreply.github.com> Date: Mon, 6 Sep 2021 18:03:38 -0400 Subject: bruh moment --- src/commands/info/color.ts | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/commands/info') 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; }; -- cgit