From 5904f4cd47e8020f3d5bee361438a6e1091ec39b Mon Sep 17 00:00:00 2001 From: "Navy.gif" Date: Tue, 28 Jun 2022 17:54:00 +0300 Subject: [PATCH] bugfix --- src/structure/components/infractions/Mute.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {