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 237e50e5..53c09c0d 100644 --- a/discord/shard.py +++ b/discord/shard.py @@ -251,6 +251,7 @@ class AutoShardedClient(Client): self._connection.shard_count = self.shard_count shard_ids = self.shard_ids if self.shard_ids else range(self.shard_count) + self._connection.shard_ids = shard_ids for shard_id in shard_ids: await self.launch_shard(gateway, shard_id) |