Browse Source

Fix import error with threads archived iterator

feature/threads
Rapptz 4 years ago
parent
commit
40127eb7b5
  1. 1
      discord/iterators.py

1
discord/iterators.py

@ -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)

Loading…
Cancel
Save