Enable sharding

This commit is contained in:
Ske 2019-03-26 19:21:29 +01:00
parent c0718a1516
commit bde1df6868

View File

@ -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