diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-11-22 20:24:19 -0500 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-11-22 20:24:19 -0500 |
commit | 62e9eca0452c56f6efd00921db8ed6b6302be1df (patch) | |
tree | 5ab61b73d0eab0f9fce36c911cb9429df2a97fd5 /src/commands | |
parent | 609f042fc2bb5b1ded881d3e9eedb2f92bd0c172 (diff) | |
download | tanzanite-62e9eca0452c56f6efd00921db8ed6b6302be1df.tar.gz tanzanite-62e9eca0452c56f6efd00921db8ed6b6302be1df.tar.bz2 tanzanite-62e9eca0452c56f6efd00921db8ed6b6302be1df.zip |
add @notenoughupdates/simplify-number
Diffstat (limited to 'src/commands')
-rw-r--r-- | src/commands/leveling/level.ts | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/commands/leveling/level.ts b/src/commands/leveling/level.ts index eb86155..36fb153 100644 --- a/src/commands/leveling/level.ts +++ b/src/commands/leveling/level.ts @@ -8,15 +8,13 @@ import { type BushSlashMessage, type BushUser } from '#lib'; +import { SimplifyNumber } from '@notenoughupdates/simplify-number'; import canvas from 'canvas'; import { MessageAttachment } from 'discord.js'; import got from 'got'; import { dirname, join } from 'path'; import { fileURLToPath } from 'url'; -// idk why I need to do default twice, it is being weird -const { default: SimplifyNumber } = (await import('simplify-number')).default as unknown as typeof import('simplify-number'); - export default class LevelCommand extends BushCommand { public constructor() { super('level', { |