aboutsummaryrefslogtreecommitdiff
path: root/src/commands/config/welcomeChannel.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/config/welcomeChannel.ts')
-rw-r--r--src/commands/config/welcomeChannel.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/commands/config/welcomeChannel.ts b/src/commands/config/welcomeChannel.ts
index 8cab33c..d531c7d 100644
--- a/src/commands/config/welcomeChannel.ts
+++ b/src/commands/config/welcomeChannel.ts
@@ -1,4 +1,3 @@
-import { ApplicationCommandOptionType } from 'discord-api-types';
import { Channel } from 'discord.js';
import { BushCommand } from '../../lib/extensions/BushCommand';
import { BushMessage } from '../../lib/extensions/BushMessage';
@@ -30,7 +29,7 @@ export default class WelcomeChannelCommand extends BushCommand {
slash: true,
slashOptions: [
{
- type: ApplicationCommandOptionType.CHANNEL,
+ type: 'CHANNEL',
name: 'channel',
description: 'What channel would you like me to send welcome messages in?',
required: false