diff options
Diffstat (limited to 'src/commands/moulberry-bush/level.ts')
-rw-r--r-- | src/commands/moulberry-bush/level.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/commands/moulberry-bush/level.ts b/src/commands/moulberry-bush/level.ts index a70ebf1..0eb0044 100644 --- a/src/commands/moulberry-bush/level.ts +++ b/src/commands/moulberry-bush/level.ts @@ -1,3 +1,4 @@ +import { ApplicationCommandOptionType } from 'discord-api-types'; import { Message } from 'discord.js'; import { CommandInteraction } from 'discord.js'; import { User } from 'discord.js'; @@ -27,7 +28,7 @@ export default class LevelCommand extends BotCommand { ], slashCommandOptions: [ { - type: 6, + type: ApplicationCommandOptionType.USER, name: 'user', description: 'The user to get the level of', required: false |