diff --git a/src/structure/components/infractions/Mute.js b/src/structure/components/infractions/Mute.js index 3659d34..179c177 100644 --- a/src/structure/components/infractions/Mute.js +++ b/src/structure/components/infractions/Mute.js @@ -66,7 +66,7 @@ class MuteInfraction extends Infraction { this.member.roles.set([ ...this.member.roles.cache.filter((r) => r.managed || r.comparePositionTo(this.guild.me.roles.highest) > 0 || - r.id === this.guild.id).array(), + r.id === this.guild.id).values(), role ], this._reason); } catch (error) {