aboutsummaryrefslogtreecommitdiff
path: root/src/commands/info/pronouns.ts
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-06-19 16:52:09 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-06-19 16:52:09 -0400
commitf2883f221706f86ee045fa94ad8cd3c9b5db5f97 (patch)
treecd3613ef478eb5306b474fa3a5871de9c985d81b /src/commands/info/pronouns.ts
parentea64ebfff9aae32deb036643422d3427959dcd24 (diff)
parent0c24fcffe34653564aaaf8a3cb124d6a3f6f4a42 (diff)
downloadtanzanite-f2883f221706f86ee045fa94ad8cd3c9b5db5f97.tar.gz
tanzanite-f2883f221706f86ee045fa94ad8cd3c9b5db5f97.tar.bz2
tanzanite-f2883f221706f86ee045fa94ad8cd3c9b5db5f97.zip
resolved conflicts and stuff
Diffstat (limited to 'src/commands/info/pronouns.ts')
-rw-r--r--src/commands/info/pronouns.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/commands/info/pronouns.ts b/src/commands/info/pronouns.ts
index bade100..83aa5ca 100644
--- a/src/commands/info/pronouns.ts
+++ b/src/commands/info/pronouns.ts
@@ -1,4 +1,3 @@
-import { ApplicationCommandOptionType } from 'discord-api-types';
import { CommandInteraction, Message, MessageEmbed, User } from 'discord.js';
import got, { HTTPError } from 'got';
import { SlashCommandOption } from '../../lib/extensions/BushClientUtil';
@@ -48,15 +47,16 @@ export default class PronounsCommand extends BushCommand {
}
],
clientPermissions: ['SEND_MESSAGES'],
- slashCommandOptions: [
+ slashOptions: [
{
- type: ApplicationCommandOptionType.USER,
+ type: 'USER',
name: 'user',
description: 'The user to get pronouns for',
required: false
}
],
- slashEphemeral: true // I'll add dynamic checking to this later
+ slashEphemeral: true, // I'll add dynamic checking to this later
+ slash: true
});
}
async sendResponse(message: Message | CommandInteraction, user: User, author: boolean): Promise<void> {