From df0f1bfbdf96b2aa98fe761e7b98ead87acb7ed5 Mon Sep 17 00:00:00 2001 From: Rapptz Date: Thu, 16 Mar 2017 05:51:11 -0400 Subject: [PATCH] Fix Client inability to shard by actually propagating the shard_id --- discord/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord/client.py b/discord/client.py index c1080876c..2f2da0437 100644 --- a/discord/client.py +++ b/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: