mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-19 13:03:31 +01:00
Fix ShardClientUtil.fetchClientValues example
This commit is contained in:
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);
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user