diff options
Diffstat (limited to 'src/commands/info/help.ts')
| -rw-r--r-- | src/commands/info/help.ts | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/commands/info/help.ts b/src/commands/info/help.ts index 8969efc..30606e1 100644 --- a/src/commands/info/help.ts +++ b/src/commands/info/help.ts @@ -1,7 +1,8 @@ +import { ApplicationCommandOptionType } from 'discord-api-types'; import { MessageActionRow, MessageButton, MessageEmbed } from 'discord.js'; import { BushCommand } from '../../lib/extensions/BushCommand'; -import { BushSlashMessage } from '../../lib/extensions/BushInteractionMessage'; import { BushMessage } from '../../lib/extensions/BushMessage'; +import { BushSlashMessage } from '../../lib/extensions/BushSlashMessage'; export default class HelpCommand extends BushCommand { constructor() { @@ -35,7 +36,7 @@ export default class HelpCommand extends BushCommand { slash: true, slashOptions: [ { - type: 'STRING', + type: ApplicationCommandOptionType.STRING, name: 'command', description: 'The command you would like to find information about.', required: false |
