Remove hardcoded shard count override

Signed-off-by: Ske <voltasalt@gmail.com>
This commit is contained in:
Ske 2021-06-08 10:21:58 +02:00
parent 41f1c58a9f
commit 288ec60e02

View File

@ -49,7 +49,7 @@ namespace PluralKit.Bot
// Start the Discord shards themselves (handlers already set up)
logger.Information("Connecting to Discord");
var info = await services.Resolve<DiscordApiClient>().GetGatewayBot();
await services.Resolve<Cluster>().Start(info with { Shards = 10 });
await services.Resolve<Cluster>().Start(info);
logger.Information("Connected! All is good (probably).");
// Lastly, we just... wait. Everything else is handled in the DiscordClient event loop