mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-07 10:22:59 +00:00
Separately delay ready event for each shard
This commit is contained in:
committed by
GitHub
parent
89eb86ecdc
commit
2dbf14bb72
@ -546,8 +546,6 @@ class DiscordWebSocket:
|
||||
self._trace = trace = data.get('_trace', [])
|
||||
self.sequence = msg['s']
|
||||
self.session_id = data['session_id']
|
||||
# pass back shard ID to ready handler
|
||||
data['__shard_id__'] = self.shard_id
|
||||
_log.info(
|
||||
'Shard ID %s has connected to Gateway: %s (Session ID: %s).',
|
||||
self.shard_id,
|
||||
|
Reference in New Issue
Block a user