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.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/context-menu-commands/user/userInfo.ts b/src/context-menu-commands/user/userInfo.ts
index 075b681..6d7f3b6 100644
--- a/src/context-menu-commands/user/userInfo.ts
+++ b/src/context-menu-commands/user/userInfo.ts
@@ -15,7 +15,7 @@ export default class UserInfoContextMenuCommand extends ContextMenuCommand {
public override async exec(interaction: ContextMenuCommandInteraction) {
await interaction.deferReply({ ephemeral: true });
- const user = await client.users.fetch(interaction.targetId).catch(() => null);
+ const user = await this.client.users.fetch(interaction.targetId).catch(() => null);
if (!user) return interaction.reply(`⁉ I couldn't find that user`);
const guild = interaction.guild as Guild;