aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--discord/client.py2
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: