mirror of
https://github.com/danbulant/discord.js
synced 2026-06-08 17:21:31 +00:00
I found some more.
This commit is contained in:
parent
d1e07674b8
commit
93cf34a814
1 changed files with 2 additions and 2 deletions
|
|
@ -207,7 +207,7 @@ class GuildMember {
|
||||||
const clientRole = clientMember.highestRole;
|
const clientRole = clientMember.highestRole;
|
||||||
const thisRole = this.highestRole;
|
const thisRole = this.highestRole;
|
||||||
return clientRole.position > thisRole.position ||
|
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 clientRole = clientMember.highestRole;
|
||||||
const thisRole = this.highestRole;
|
const thisRole = this.highestRole;
|
||||||
return clientRole.position > thisRole.position ||
|
return clientRole.position > thisRole.position ||
|
||||||
(clientRole.position === thisRole.position && clientRole.id < thisRole.position);
|
(clientRole.position === thisRole.position && clientRole.id < thisRole.id);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue