Fix Client inability to shard by actually propagating the shard_id
This commit is contained in:
parent
0321558dec
commit
df0f1bfbdf
@ -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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user