aboutsummaryrefslogtreecommitdiff
path: root/src/commands/info
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-06-28 18:54:18 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-06-28 18:54:18 -0400
commit6974a5859658b966954a59411a800223b7542df8 (patch)
tree9f1b4eae137d3253e1530bd30b78ab73b985c9ca /src/commands/info
parentb581073e0deb4f96510d72001513db64f3cc01ab (diff)
downloadtanzanite-6974a5859658b966954a59411a800223b7542df8.tar.gz
tanzanite-6974a5859658b966954a59411a800223b7542df8.tar.bz2
tanzanite-6974a5859658b966954a59411a800223b7542df8.zip
fix breaking changes and bump dependencies
Diffstat (limited to 'src/commands/info')
-rw-r--r--src/commands/info/help.ts3
-rw-r--r--src/commands/info/pronouns.ts3
2 files changed, 2 insertions, 4 deletions
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