aboutsummaryrefslogtreecommitdiff
path: root/src/context-menu-commands/user/userInfo.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/context-menu-commands/user/userInfo.ts')
-rw-r--r--src/context-menu-commands/user/userInfo.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/context-menu-commands/user/userInfo.ts b/src/context-menu-commands/user/userInfo.ts
index 0c43958..d6e8132 100644
--- a/src/context-menu-commands/user/userInfo.ts
+++ b/src/context-menu-commands/user/userInfo.ts
@@ -1,18 +1,18 @@
import { UserInfoCommand } from '#commands';
import { type BushGuild, type BushGuildMember, type BushUser } from '#lib';
import { ContextMenuCommand } from 'discord-akairo';
-import { type ContextMenuInteraction } from 'discord.js';
+import { ApplicationCommandType, type ContextMenuCommandInteraction } from 'discord.js';
export default class UserInfoContextMenuCommand extends ContextMenuCommand {
public constructor() {
super('userInfo', {
name: 'User Info',
- type: 'USER',
+ type: ApplicationCommandType.User,
category: 'user'
});
}
- public override async exec(interaction: ContextMenuInteraction) {
+ public override async exec(interaction: ContextMenuCommandInteraction) {
await interaction.deferReply({ ephemeral: true });
const user = (await interaction.user.fetch()) as BushUser;