mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 09:03:29 +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
|
||||
* @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);
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user