diff options
| author | Rapptz <[email protected]> | 2017-03-16 05:51:11 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2017-03-16 05:51:11 -0400 |
| commit | df0f1bfbdf96b2aa98fe761e7b98ead87acb7ed5 (patch) | |
| tree | a49dc8e82ddd8808fbe9bdecb7c383b04999fa7c | |
| parent | Handle case when guild owner somehow doesn't exist in permissions_for (diff) | |
| download | discord.py-df0f1bfbdf96b2aa98fe761e7b98ead87acb7ed5.tar.xz discord.py-df0f1bfbdf96b2aa98fe761e7b98ead87acb7ed5.zip | |
Fix Client inability to shard by actually propagating the shard_id
| -rw-r--r-- | discord/client.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/client.py b/discord/client.py index c1080876..2f2da043 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: |