Fix Client inability to shard by actually propagating the shard_id
This commit is contained in:
@@ -344,7 +344,7 @@ class Client:
|
|||||||
|
|
||||||
@asyncio.coroutine
|
@asyncio.coroutine
|
||||||
def _connect(self):
|
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:
|
while True:
|
||||||
try:
|
try:
|
||||||
|
Reference in New Issue
Block a user