Closed SolarysDev closed 6 years ago
Lavalink needs a client for each discord gateway connection and the point of Total Shards is that lavalink requires it's passed and yes if you shard with multiple programs (which big bots do) it doesn't make total shards pointless.
As per what you said in DAPI about not being able to pass a ShardedClient there isn't support for it yet because we'll need to iterate the clients and do work with multiple clients (creating multiple managers internally and other such)
LavaLinkManager's only constructor takes one DiscordSocketClient, which doesn't support sharding, yet you can configure the total shards in the LLManagerConfig.
Unless we're supposed to give each individual client its own manager, which defeats the point of TotalShards in the first place.