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/info/help.ts | 3 +-- src/commands/info/pronouns.ts | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'src/commands/info') diff --git a/src/commands/info/help.ts b/src/commands/info/help.ts index 30606e1..b58d73c 100644 --- a/src/commands/info/help.ts +++ b/src/commands/info/help.ts @@ -1,4 +1,3 @@ -import { ApplicationCommandOptionType } from 'discord-api-types'; import { MessageActionRow, MessageButton, MessageEmbed } from 'discord.js'; import { BushCommand } from '../../lib/extensions/BushCommand'; import { BushMessage } from '../../lib/extensions/BushMessage'; @@ -36,7 +35,7 @@ export default class HelpCommand extends BushCommand { slash: true, slashOptions: [ { - type: ApplicationCommandOptionType.STRING, + type: 'STRING', name: 'command', description: 'The command you would like to find information about.', required: false diff --git a/src/commands/info/pronouns.ts b/src/commands/info/pronouns.ts index 107af82..60d0c1a 100644 --- a/src/commands/info/pronouns.ts +++ b/src/commands/info/pronouns.ts @@ -1,4 +1,3 @@ -import { ApplicationCommandOptionType } from 'discord-api-types'; import { Message, MessageEmbed, User } from 'discord.js'; import got, { HTTPError } from 'got'; import { BushCommand } from '../../lib/extensions/BushCommand'; @@ -53,7 +52,7 @@ export default class PronounsCommand extends BushCommand { clientPermissions: ['SEND_MESSAGES'], slashOptions: [ { - type: ApplicationCommandOptionType.USER, + type: 'USER', name: 'user', description: 'The user to get pronouns for', required: false -- cgit