Skip to content
This repository has been archived by the owner on Jul 15, 2024. It is now read-only.

Commit

Permalink
fix: assert guild id non null
Browse files Browse the repository at this point in the history
  • Loading branch information
KagChi committed Mar 2, 2024
1 parent b484d65 commit 9764878
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export class BaseInteraction extends Base<GatewayInteractionCreateDispatchData>
return this.data.member
? new GuildMember({
id: this.data.user?.id ?? this.data.member.user.id,
guildId: this.guildId,
guildId: this.guildId!,
nick: this.data.member.nick ?? null,
avatar: this.data.member.avatar ?? null,
flags: this.data.member.flags,
Expand Down

0 comments on commit 9764878

Please sign in to comment.