aboutsummaryrefslogtreecommitdiff
path: root/src/commands/info/help.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/info/help.ts')
-rw-r--r--src/commands/info/help.ts8
1 files changed, 4 insertions, 4 deletions
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
});
}