mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-17 20:13:30 +01:00
docs: Change 'the this' to this (typo) (#2377)
This commit is contained in:
@@ -132,8 +132,8 @@ class Role extends Base {
|
|||||||
/**
|
/**
|
||||||
* Compares this role's position to another role's.
|
* Compares this role's position to another role's.
|
||||||
* @param {RoleResolvable} role Role to compare to this one
|
* @param {RoleResolvable} 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) {
|
||||||
role = this.guild.roles.resolve(role);
|
role = this.guild.roles.resolve(role);
|
||||||
|
|||||||
Reference in New Issue
Block a user