aboutsummaryrefslogtreecommitdiff
path: root/src/commands/info
diff options
context:
space:
mode:
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