aboutsummaryrefslogtreecommitdiff
path: root/src/commands/info/color.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/info/color.ts')
-rw-r--r--src/commands/info/color.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/commands/info/color.ts b/src/commands/info/color.ts
index 2b8ba9c..5b2c818 100644
--- a/src/commands/info/color.ts
+++ b/src/commands/info/color.ts
@@ -8,8 +8,10 @@ import {
type BushRole,
type BushSlashMessage
} from '#lib';
+import assert from 'assert';
import { MessageEmbed, Role } from 'discord.js';
import tinycolor from 'tinycolor2';
+assert(tinycolor);
const isValidTinyColor: BushArgumentTypeCaster<string | null> = (_message, phase) => {
// if the phase is a number it converts it to hex incase it could be representing a color in decimal