From f48787eef183ff3ae24cf353c191f3c672c8de73 Mon Sep 17 00:00:00 2001 From: Danial Raza Date: Mon, 22 Jan 2024 12:40:13 +0100 Subject: [PATCH] docs(BaseInteraction): correct return type of `member` (#10096) --- packages/discord.js/src/structures/BaseInteraction.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/discord.js/src/structures/BaseInteraction.js b/packages/discord.js/src/structures/BaseInteraction.js index 357a88da37bd..09e717bc9ead 100644 --- a/packages/discord.js/src/structures/BaseInteraction.js +++ b/packages/discord.js/src/structures/BaseInteraction.js @@ -63,7 +63,7 @@ class BaseInteraction extends Base { /** * If this interaction was sent in a guild, the member which sent it - * @type {?(GuildMember|APIGuildMember)} + * @type {?(GuildMember|APIInteractionGuildMember)} */ this.member = data.member ? this.guild?.members._add(data.member) ?? data.member : null;