mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-10-22 00:13:01 +00:00
Allow overriding the shard_ids used for initial shard launch.
This commit is contained in:
@@ -406,7 +406,7 @@ class Client:
|
||||
|
||||
while not self.is_closed:
|
||||
try:
|
||||
yield from ws.poll_event()
|
||||
yield from self.ws.poll_event()
|
||||
except (ReconnectWebSocket, ResumeWebSocket) as e:
|
||||
resume = type(e) is ResumeWebSocket
|
||||
log.info('Got ' + type(e).__name__)
|
||||
|
Reference in New Issue
Block a user