Question about container in shards

Is there a way to fetch container values from another shard? I have a bot that stores data in a collection that is defined in the container, and I have a command that counts how much data is stored in this collection and the result is different between the shards
2 Replies
Favna
Favna2y ago
Sapphire doesn't inherently account for sharding in any way and leaves that up to the end-user to manage for the simple reason that there are dozens of ways to do sharding and there is no way we can support them all. The only sharding that both DiscordJS and Sapphire will always guarantee to always work is DJS' internal sharding. That is all to say - you yourself are responsible of resolving sharding issues like this when not using internal sharding. There are various way to do this and none are directly related to sapphire as they would also count when not using sapphire.
o.vitoo
o.vitooOP2y ago
gotchu
Want results from more Discord servers?
Add your server