mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-21 08:17:47 +00:00
Don't clear state when READY is reached for auto sharded clients.
This commit is contained in:
parent
3983eb3ba5
commit
38fd0928df
@ -820,7 +820,6 @@ class AutoShardedConnectionState(ConnectionState):
|
||||
def parse_ready(self, data):
|
||||
if not hasattr(self, '_ready_state'):
|
||||
self._ready_state = ReadyState(launch=asyncio.Event(), guilds=[])
|
||||
self.clear()
|
||||
|
||||
self.user = ClientUser(state=self, data=data['user'])
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user