mirror of
https://github.com/danbulant/discord.js
synced 2026-06-06 08:11:50 +00:00
Update User#equals doc
This commit is contained in:
parent
1b76333b8b
commit
95790dcf08
1 changed files with 1 additions and 1 deletions
|
|
@ -237,7 +237,7 @@ class User {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Checks if the user is equal to another. It compares username, ID, discriminator, status and the game being played.
|
* Checks if the user is equal to another. It compares ID, username, discriminator, avatar, and bot flags.
|
||||||
* It is recommended to compare equality by using `user.id === user2.id` unless you want to compare all properties.
|
* It is recommended to compare equality by using `user.id === user2.id` unless you want to compare all properties.
|
||||||
* @param {User} user User to compare with
|
* @param {User} user User to compare with
|
||||||
* @returns {boolean}
|
* @returns {boolean}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue