docs(shard): add .cache to GuildManager in fetchClientValue exa… (#3857)

This commit is contained in:
SpaceEEC 2020-02-29 15:10:47 +01:00 committed by GitHub
parent d9e12b8bc2
commit 31ee0d84d5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -220,7 +220,7 @@ class Shard extends EventEmitter {
* @param {string} prop Name of the client property to get, using periods for nesting
* @returns {Promise<*>}
* @example
* shard.fetchClientValue('guilds.size')
* shard.fetchClientValue('guilds.cache.size')
* .then(count => console.log(`${count} guilds in shard ${shard.id}`))
* .catch(console.error);
*/