Browse Source

Fix Client inability to shard by actually propagating the shard_id

pull/476/merge
Rapptz 8 years ago
parent
commit
df0f1bfbdf
  1. 2
      discord/client.py

2
discord/client.py

@ -344,7 +344,7 @@ class Client:
@asyncio.coroutine
def _connect(self):
self.ws = yield from DiscordWebSocket.from_client(self)
self.ws = yield from DiscordWebSocket.from_client(self, shard_id=self.shard_id)
while True:
try:

Loading…
Cancel
Save