From 288ec60e02d1c8f24c8363dbd1ae7734a9fc81a9 Mon Sep 17 00:00:00 2001 From: Ske Date: Tue, 8 Jun 2021 10:21:58 +0200 Subject: [PATCH] Remove hardcoded shard count override Signed-off-by: Ske --- PluralKit.Bot/Init.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PluralKit.Bot/Init.cs b/PluralKit.Bot/Init.cs index 222a40b1..f4b7c6f5 100644 --- a/PluralKit.Bot/Init.cs +++ b/PluralKit.Bot/Init.cs @@ -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().GetGatewayBot(); - await services.Resolve().Start(info with { Shards = 10 }); + await services.Resolve().Start(info); logger.Information("Connected! All is good (probably)."); // Lastly, we just... wait. Everything else is handled in the DiscordClient event loop