diff options
Diffstat (limited to 'src/commands/leveling/level.ts')
-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', { |