mirror of
https://github.com/danbulant/discord.js
synced 2026-06-10 02:02:40 +00:00
Fix ShardClientUtil.fetchClientValues example
This commit is contained in:
parent
49d905a7b1
commit
4fceae02d6
2 changed files with 2 additions and 2 deletions
File diff suppressed because one or more lines are too long
|
|
@ -48,7 +48,7 @@ class ShardClientUtil {
|
||||||
* @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<Array>}
|
* @returns {Promise<Array>}
|
||||||
* @example
|
* @example
|
||||||
* manager.fetchClientValues('guilds.size').then(results => {
|
* client.shard.fetchClientValues('guilds.size').then(results => {
|
||||||
* console.log(`${results.reduce((prev, val) => prev + val, 0)} total guilds`);
|
* console.log(`${results.reduce((prev, val) => prev + val, 0)} total guilds`);
|
||||||
* }).catch(console.error);
|
* }).catch(console.error);
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue