mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-10-24 10:02:56 +00:00
Fix import error with threads archived iterator
This commit is contained in:
@@ -749,4 +749,5 @@ class ArchivedThreadIterator(_AsyncIterator['Thread']):
|
|||||||
self.before = self.update_before(threads[-1])
|
self.before = self.update_before(threads[-1])
|
||||||
|
|
||||||
def create_thread(self, data: ThreadPayload) -> Thread:
|
def create_thread(self, data: ThreadPayload) -> Thread:
|
||||||
|
from .threads import Thread
|
||||||
return Thread(guild=self.guild, data=data)
|
return Thread(guild=self.guild, data=data)
|
||||||
|
|||||||
Reference in New Issue
Block a user