mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-10-24 01:53:01 +00:00
Fix typo with archived_threads iterator leading to AttributeError
This commit is contained in:
@@ -705,7 +705,7 @@ class ArchivedThreadIterator(_AsyncIterator['Thread']):
|
|||||||
elif private:
|
elif private:
|
||||||
self.endpoint = self.http.get_private_archived_threads
|
self.endpoint = self.http.get_private_archived_threads
|
||||||
else:
|
else:
|
||||||
self.endpoint = self.http.get_archived_threads
|
self.endpoint = self.http.get_public_archived_threads
|
||||||
|
|
||||||
self.queue: asyncio.Queue[Thread] = asyncio.Queue()
|
self.queue: asyncio.Queue[Thread] = asyncio.Queue()
|
||||||
self.has_more: bool = True
|
self.has_more: bool = True
|
||||||
|
|||||||
Reference in New Issue
Block a user