From 873123996889c824c7d52785b7cf2903372b71a5 Mon Sep 17 00:00:00 2001 From: TymanWasTaken Date: Sat, 19 Jun 2021 11:31:36 -0600 Subject: fix: Use latest features of akairo fork --- src/commands/info/help.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/commands/info/help.ts') diff --git a/src/commands/info/help.ts b/src/commands/info/help.ts index 317091e..4073f74 100644 --- a/src/commands/info/help.ts +++ b/src/commands/info/help.ts @@ -1,5 +1,4 @@ import { stripIndent } from 'common-tags'; -import { ApplicationCommandOptionType } from 'discord-api-types'; import { Message, MessageEmbed } from 'discord.js'; import { BushCommand } from '../../lib/extensions/BushCommand'; import { BushInteractionMessage } from '../../lib/extensions/BushInteractionMessage'; @@ -22,14 +21,15 @@ export default class HelpCommand extends BushCommand { type: 'commandAlias' } ], - slashCommandOptions: [ + slashOptions: [ { - type: ApplicationCommandOptionType.STRING, + type: 'STRING', name: 'command', description: 'The command to get help for', required: false } - ] + ], + slash: true }); } -- cgit