mirror of
https://github.com/danbulant/discord.js
synced 2026-06-09 09:42:22 +00:00
docs(Role): Change 'the this' to this (typo) (#2377)
Commit: 8b679913a4
This commit is contained in:
parent
ae28f52e0d
commit
e5e59cce32
1 changed files with 2 additions and 2 deletions
|
|
@ -181,8 +181,8 @@ class Role {
|
||||||
/**
|
/**
|
||||||
* Compares this role's position to another role's.
|
* Compares this role's position to another role's.
|
||||||
* @param {Role} role Role to compare to this one
|
* @param {Role} role Role to compare to this one
|
||||||
* @returns {number} Negative number if the this role's position is lower (other role's is higher),
|
* @returns {number} Negative number if this role's position is lower (other role's is higher),
|
||||||
* positive number if the this one is higher (other's is lower), 0 if equal
|
* positive number if this one is higher (other's is lower), 0 if equal
|
||||||
*/
|
*/
|
||||||
comparePositionTo(role) {
|
comparePositionTo(role) {
|
||||||
return this.constructor.comparePositions(this, role);
|
return this.constructor.comparePositions(this, role);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue