forked from Galactic/galactic-bot
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.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) {
|
||||
|
Loading…
Reference in New Issue
Block a user