mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-06 09:56:09 +00:00
Separately delay ready event for each shard
This commit is contained in:
committed by
GitHub
parent
89eb86ecdc
commit
2dbf14bb72
@ -423,8 +423,6 @@ class AutoShardedClient(Client):
|
||||
initial = shard_id == shard_ids[0]
|
||||
await self.launch_shard(gateway, shard_id, initial=initial)
|
||||
|
||||
self._connection.shards_launched.set()
|
||||
|
||||
async def _async_setup_hook(self) -> None:
|
||||
await super()._async_setup_hook()
|
||||
self.__queue = asyncio.PriorityQueue()
|
||||
|
Reference in New Issue
Block a user