diff options
Diffstat (limited to 'discord/shard.py')
| -rw-r--r-- | discord/shard.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/shard.py b/discord/shard.py index 84ba8880..1ef9e923 100644 --- a/discord/shard.py +++ b/discord/shard.py @@ -413,7 +413,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) + shard_ids = self.shard_ids or range(self.shard_count) self._connection.shard_ids = shard_ids for shard_id in shard_ids: |