Kurasuta icon indicating copy to clipboard operation
Kurasuta copied to clipboard

Retrieve the list of shards

Open Slasshh opened this issue 3 years ago • 3 comments

I would like to know on each shard how many guilds there are

and when I do it with client.shard.fetchClientValues('guilds.cache.size') it only gives me my 2 cluster and not my 20 shard

And I can't find

Slasshh avatar May 22 '21 13:05 Slasshh

This is not easily doable due to how d.js handles internal sharding, what you can do tho is calculate a average from the shard count and guilds in the cluster instead, why would you need to know how many guilds are on each shard in specific anyway 👀

DevYukine avatar May 29 '21 17:05 DevYukine

This is not easily doable due to how d.js handles internal sharding, what you can do tho is calculate a average from the shard count and guilds in the cluster instead, why would you need to know how many guilds are on each shard in specific anyway 👀

what is d.js (discord.js ?)

Slasshh avatar Jun 07 '21 07:06 Slasshh

yes

DevYukine avatar Jun 08 '21 03:06 DevYukine