mirror of
https://github.com/danbulant/discord.js
synced 2026-06-09 01:31:29 +00:00
docs(shard): add .cache to GuildManager in fetchClientValue exa… (#3857)
This commit is contained in:
parent
d9e12b8bc2
commit
31ee0d84d5
1 changed files with 1 additions and 1 deletions
|
|
@ -220,7 +220,7 @@ class Shard extends EventEmitter {
|
||||||
* @param {string} prop Name of the client property to get, using periods for nesting
|
* @param {string} prop Name of the client property to get, using periods for nesting
|
||||||
* @returns {Promise<*>}
|
* @returns {Promise<*>}
|
||||||
* @example
|
* @example
|
||||||
* shard.fetchClientValue('guilds.size')
|
* shard.fetchClientValue('guilds.cache.size')
|
||||||
* .then(count => console.log(`${count} guilds in shard ${shard.id}`))
|
* .then(count => console.log(`${count} guilds in shard ${shard.id}`))
|
||||||
* .catch(console.error);
|
* .catch(console.error);
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue