Fix Client inability to shard by actually propagating the shard_id

This commit is contained in:
Rapptz 2017-03-16 05:51:11 -04:00
parent 0321558dec
commit df0f1bfbdf

View File

@ -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: