mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-11-20 13:29:03 +00:00
Allow overriding the shard_ids used for initial shard launch.
This commit is contained in:
1 parent
4bc6625739
commit
92c1637921
3 files changed
+22
-6
No files matched your search
+1
-1
@@ -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