mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 13:06:50 +00:00
Remove hardcoded shard count override
Signed-off-by: Ske <voltasalt@gmail.com>
This commit is contained in:
parent
41f1c58a9f
commit
288ec60e02
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue