From 6974a5859658b966954a59411a800223b7542df8 Mon Sep 17 00:00:00 2001 From: IRONM00N <64110067+IRONM00N@users.noreply.github.com> Date: Mon, 28 Jun 2021 18:54:18 -0400 Subject: fix breaking changes and bump dependencies --- src/commands/moderation/mute.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/commands/moderation/mute.ts') diff --git a/src/commands/moderation/mute.ts b/src/commands/moderation/mute.ts index eeb2d04..9b6ad70 100644 --- a/src/commands/moderation/mute.ts +++ b/src/commands/moderation/mute.ts @@ -1,5 +1,4 @@ import { Argument } from 'discord-akairo'; -import { ApplicationCommandOptionType } from 'discord-api-types'; import { CommandInteraction, Message, User } from 'discord.js'; import moment from 'moment'; import { BushCommand } from '../../lib/extensions/BushCommand'; @@ -44,19 +43,19 @@ export default class MuteCommand extends BushCommand { }, slashOptions: [ { - type: ApplicationCommandOptionType.USER, + type: 'USER', name: 'user', description: 'The user to mute.', required: true }, { - type: ApplicationCommandOptionType.STRING, + type: 'STRING', name: 'reason', description: 'Why the user is getting muted.', required: false }, { - type: ApplicationCommandOptionType.STRING, + type: 'STRING', name: 'time', description: 'How long the user should be muted for.', required: false -- cgit