bugfix
This commit is contained in:
parent
288d660fd4
commit
5904f4cd47
@ -66,7 +66,7 @@ class MuteInfraction extends Infraction {
|
|||||||
this.member.roles.set([
|
this.member.roles.set([
|
||||||
...this.member.roles.cache.filter((r) => r.managed ||
|
...this.member.roles.cache.filter((r) => r.managed ||
|
||||||
r.comparePositionTo(this.guild.me.roles.highest) > 0 ||
|
r.comparePositionTo(this.guild.me.roles.highest) > 0 ||
|
||||||
r.id === this.guild.id).array(),
|
r.id === this.guild.id).values(),
|
||||||
role
|
role
|
||||||
], this._reason);
|
], this._reason);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
Loading…
Reference in New Issue
Block a user