I had a discord bot which used:
client.users.cache
This returns a Collection[Map] with all the users cached by the bot. I added sharding and I want to do the same so I replaced it with:
client.shard.fetchClientValues('users.cache');
but this returns a array and I need a Collection[Map] that is the same as the one returned from:
client.users.cache
Does anyone know how to convert that array in a Collection[Map] the same as the one returned from:
client.users.cache
or how to get a Collection[Map] from all the shards that looks the same as the one returned from:
client.users.cache