diff options
| author | Rapptz <[email protected]> | 2021-04-17 01:16:20 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2021-06-08 07:25:40 -0400 |
| commit | cb9a506686dc2bab83fc735bdf6e7b7bac5b2d19 (patch) | |
| tree | ae848a6355f7681d9f4775a864a96dafc5ac6952 /discord | |
| parent | Fix typo in start_private_thread (diff) | |
| download | discord.py-cb9a506686dc2bab83fc735bdf6e7b7bac5b2d19.tar.xz discord.py-cb9a506686dc2bab83fc735bdf6e7b7bac5b2d19.zip | |
Fix typo with archived_threads iterator leading to AttributeError
Diffstat (limited to 'discord')
| -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 28e98ec4..ea3a2917 100644 --- a/discord/iterators.py +++ b/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 |