aboutsummaryrefslogtreecommitdiff
path: root/src/commands/dev/reload.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/dev/reload.ts')
-rw-r--r--src/commands/dev/reload.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/commands/dev/reload.ts b/src/commands/dev/reload.ts
index 82a98a0..9aee9a7 100644
--- a/src/commands/dev/reload.ts
+++ b/src/commands/dev/reload.ts
@@ -1,5 +1,4 @@
import { stripIndent } from 'common-tags';
-import { ApplicationCommandOptionType } from 'discord-api-types';
import { Message } from 'discord.js';
import { SlashCommandOption } from '../../lib/extensions/BushClientUtil';
import { BushCommand } from '../../lib/extensions/BushCommand';
@@ -24,14 +23,15 @@ export default class ReloadCommand extends BushCommand {
],
ownerOnly: true,
typing: true,
- slashCommandOptions: [
+ slashOptions: [
{
- type: ApplicationCommandOptionType.BOOLEAN,
+ type: 'BOOLEAN',
name: 'fast',
description: 'Whether to use esbuild for fast compiling or not',
required: false
}
- ]
+ ],
+ slash: true
});
}