mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
I found some more.
This commit is contained in:
@@ -207,7 +207,7 @@ class GuildMember {
|
||||
const clientRole = clientMember.highestRole;
|
||||
const thisRole = this.highestRole;
|
||||
return clientRole.position > thisRole.position ||
|
||||
(clientRole.position === thisRole.position && clientRole.id < thisRole.position);
|
||||
(clientRole.position === thisRole.position && clientRole.id < thisRole.id);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -223,7 +223,7 @@ class GuildMember {
|
||||
const clientRole = clientMember.highestRole;
|
||||
const thisRole = this.highestRole;
|
||||
return clientRole.position > thisRole.position ||
|
||||
(clientRole.position === thisRole.position && clientRole.id < thisRole.position);
|
||||
(clientRole.position === thisRole.position && clientRole.id < thisRole.id);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user