Skip to content

Commit

Permalink
fix(GuildMember): update parsed args too
Browse files Browse the repository at this point in the history
  • Loading branch information
Koyamie committed Aug 22, 2024
1 parent 62b02bc commit 66243ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/discord.js/src/structures/GuildMember.js
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ class GuildMember extends Base {
*/
bannerURL({ format, size, dynamic } = {}) {
if (!this.banner) return this.banner;
return this.client.rest.cdn.GuildMemberBanner(this.id, this.banner, format, size, dynamic);
return this.client.rest.cdn.GuildMemberBanner(this.guild.id, this.id, this.banner, format, size, dynamic);
}

/**
Expand Down

0 comments on commit 66243ba

Please sign in to comment.