Browse Source

Fix typo with archived_threads iterator leading to AttributeError

feature/threads
Rapptz 4 years ago
parent
commit
cb9a506686
  1. 2
      discord/iterators.py

2
discord/iterators.py

@ -705,7 +705,7 @@ class ArchivedThreadIterator(_AsyncIterator['Thread']):
elif private:
self.endpoint = self.http.get_private_archived_threads
else:
self.endpoint = self.http.get_archived_threads
self.endpoint = self.http.get_public_archived_threads
self.queue: asyncio.Queue[Thread] = asyncio.Queue()
self.has_more: bool = True

Loading…
Cancel
Save