diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2022-01-01 17:03:48 -0500 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2022-01-01 17:03:48 -0500 |
commit | 342b01c7f51dbe8beef1d3deb37822080ed6097f (patch) | |
tree | 499b1f0ef1a8870e7abe61beba5fc1be9469e363 /src/commands/info/color.ts | |
parent | c24dfae07747c71e1c1806b12bf0f0bcd3dd60dd (diff) | |
download | tanzanite-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.ts | 2 |
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 |