Add note about requiring bot accounts (#552)

This commit is contained in:
Schuyler Cebulskie
2016-08-27 15:22:08 -04:00
committed by Amish Shah
parent b356ccf1e5
commit 6faa409e96

View File

@@ -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>}
*/