mirror of
https://github.com/danbulant/discord.js
synced 2026-05-25 21:12:06 +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
|
||||
* @returns {Promise<Array>}
|
||||
* @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`);
|
||||
* }).catch(console.error);
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue