mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 16:43:31 +01:00
Add note about requiring bot accounts (#552)
This commit is contained in:
committed by
Amish Shah
parent
b356ccf1e5
commit
6faa409e96
@@ -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
|
||||
* @return {Promise<User>}
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user