mirror of
https://github.com/danbulant/discord.js
synced 2026-06-09 09:42:22 +00:00
Add note about requiring bot accounts (#552)
This commit is contained in:
parent
b356ccf1e5
commit
6faa409e96
1 changed files with 2 additions and 1 deletions
|
|
@ -136,7 +136,8 @@ class Client extends EventEmitter {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Caches a user, or obtains it from the cache if it's already cached
|
* Caches a user, or obtains it from the cache if it's already cached.
|
||||||
|
* If the user isn't already cached, it will only be obtainable by OAuth bot accounts.
|
||||||
* @param {String} id The ID of the user to obtain
|
* @param {String} id The ID of the user to obtain
|
||||||
* @return {Promise<User>}
|
* @return {Promise<User>}
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue