mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-12 16:50:10 +00:00
Enable sharding
This commit is contained in:
parent
c0718a1516
commit
bde1df6868
1 changed files with 1 additions and 1 deletions
|
|
@ -66,7 +66,7 @@ def run(config: Config):
|
||||||
|
|
||||||
asyncio.get_event_loop().run_until_complete(create_tables())
|
asyncio.get_event_loop().run_until_complete(create_tables())
|
||||||
|
|
||||||
client = discord.Client()
|
client = discord.AutoShardedClient()
|
||||||
logger = channel_logger.ChannelLogger(client)
|
logger = channel_logger.ChannelLogger(client)
|
||||||
|
|
||||||
@client.event
|
@client.event
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue