Fix import error with threads archived iterator

This commit is contained in:
Rapptz committed 2021-06-08 07:26:22 -04:00
1 parent b9d8d3872e
commit 40127eb7b5
1 file changed
+1
+1
View File
@@ -749,4 +749,5 @@ class ArchivedThreadIterator(_AsyncIterator['Thread']):
self.before = self.update_before(threads[-1])
def create_thread(self, data: ThreadPayload) -> Thread:
from .threads import Thread
return Thread(guild=self.guild, data=data)