From bde1df68687a3571e7118f954a0ec5cd657e683d Mon Sep 17 00:00:00 2001 From: Ske Date: Tue, 26 Mar 2019 19:21:29 +0100 Subject: [PATCH] Enable sharding --- src/pluralkit/bot/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pluralkit/bot/__init__.py b/src/pluralkit/bot/__init__.py index 434ebe4f..b907fa40 100644 --- a/src/pluralkit/bot/__init__.py +++ b/src/pluralkit/bot/__init__.py @@ -66,7 +66,7 @@ def run(config: Config): asyncio.get_event_loop().run_until_complete(create_tables()) - client = discord.Client() + client = discord.AutoShardedClient() logger = channel_logger.ChannelLogger(client) @client.event