commit
cd4656dc92
@ -380,7 +380,7 @@ class GuildMember extends Base {
|
|||||||
return (
|
return (
|
||||||
!this.permissions.has(Permissions.FLAGS.ADMINISTRATOR) &&
|
!this.permissions.has(Permissions.FLAGS.ADMINISTRATOR) &&
|
||||||
this.manageable &&
|
this.manageable &&
|
||||||
(this.guild.me?.permissions.has(Permissions.FLAGS.MODERATE_MEMBERS) ?? false)
|
(this.guild.members.me?.permissions.has(Permissions.FLAGS.MODERATE_MEMBERS) ?? false)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user