diff options
| author | TymanWasTaken <tyman@tyman.tech> | 2021-05-16 22:03:18 -0400 |
|---|---|---|
| committer | TymanWasTaken <tyman@tyman.tech> | 2021-05-16 22:03:18 -0400 |
| commit | 759e93bec4e9e2eb86db7434007345c24b0a0252 (patch) | |
| tree | 193c47e5dfc6bcce0f4923ea0d2f8f7ce2e5894a /src/commands/moulberry-bush | |
| parent | 284e1d1d693486f6c50cdb8b38f01cdf74eb63d2 (diff) | |
| download | tanzanite-759e93bec4e9e2eb86db7434007345c24b0a0252.tar.gz tanzanite-759e93bec4e9e2eb86db7434007345c24b0a0252.tar.bz2 tanzanite-759e93bec4e9e2eb86db7434007345c24b0a0252.zip | |
fix logging for slash command syncing v2, delete BotMessage and BotGuild because useless, add prefix slash command
Diffstat (limited to 'src/commands/moulberry-bush')
| -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 |
