Skip to content

Commit

Permalink
docs(BaseInteraction): correct return type of member (#10096)
Browse files Browse the repository at this point in the history
  • Loading branch information
sdanialraza authored Jan 22, 2024
1 parent 1431c18 commit f48787e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/discord.js/src/structures/BaseInteraction.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit f48787e

Please # to comment.