diff options
Diffstat (limited to 'discord/shard.py')
| -rw-r--r-- | discord/shard.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/discord/shard.py b/discord/shard.py index f6320678..ef29d590 100644 --- a/discord/shard.py +++ b/discord/shard.py @@ -292,6 +292,7 @@ class AutoShardedClient(Client): # the key is the shard_id self.__shards = {} self._connection._get_websocket = self._get_websocket + self._connection._get_client = lambda: self self.__queue = asyncio.PriorityQueue() def _get_websocket(self, guild_id=None, *, shard_id=None): |