diff options
| -rw-r--r-- | discord/iterators.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/iterators.py b/discord/iterators.py index 32489c90..c8a3bdc0 100644 --- a/discord/iterators.py +++ b/discord/iterators.py @@ -301,7 +301,7 @@ class HistoryIterator(_AsyncIterator): self.channel = channel while self._get_retrieve(): data = yield from self._retrieve_messages(self.retrieve) - if self.limit is None and len(data) < 100: + if len(data) < 100: self.limit = 0 # terminate the infinite loop if self.reverse: |