dbm-network / custom-files

These are custom BotJS Files for use with DBM that Add/Extend features. Can only use one at a time!
https://dbm-network.com/
MIT License
7 stars 10 forks source link

Bot Sharder - needs an update for V12 #4

Closed master3395 closed 3 years ago

master3395 commented 4 years ago

client.shard && client.shard.fetchClientValues('users.size') needs to use cache client.shard && client.shard.fetchClientValues('users.cache.size')

So does client.shard && client.shard.fetchClientValues('guilds.size') client.shard && client.shard.fetchClientValues('guilds.cache.size')

Also, shard and ID shows up as NaN and undefined.

image

https://github.com/dbm-network/custom-files/tree/dbm-1.3.0%2B/Bot%20Sharder

Giingu commented 3 years ago

I agree, this could be useful as hell, i have found a lot of problems with sharding. Have tried some stuff myself but didnt go well. The last time the custom files were updates was 2/3 years ago.