aboutsummaryrefslogtreecommitdiff
path: root/src/commands/info/color.ts
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-01-01 17:03:48 -0500
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-01-01 17:03:48 -0500
commit342b01c7f51dbe8beef1d3deb37822080ed6097f (patch)
tree499b1f0ef1a8870e7abe61beba5fc1be9469e363 /src/commands/info/color.ts
parentc24dfae07747c71e1c1806b12bf0f0bcd3dd60dd (diff)
downloadtanzanite-342b01c7f51dbe8beef1d3deb37822080ed6097f.tar.gz
tanzanite-342b01c7f51dbe8beef1d3deb37822080ed6097f.tar.bz2
tanzanite-342b01c7f51dbe8beef1d3deb37822080ed6097f.zip
a few things
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