diff --git a/src/structures/GuildMember.js b/src/structures/GuildMember.js index 49de7a1b2..a311f0302 100644 --- a/src/structures/GuildMember.js +++ b/src/structures/GuildMember.js @@ -244,13 +244,13 @@ class GuildMember { * @readonly */ get permissions() { - if (this.user.id === this.guild.ownerID) return new Permissions(this, Permissions.ALL); + if (this.user.id === this.guild.ownerID) return new Permissions(Permissions.ALL); let permissions = 0; const roles = this.roles; for (const role of roles.values()) permissions |= role.permissions; - return new Permissions(this, permissions); + return new Permissions(permissions); } /**