mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-11-14 18:43:31 +00:00
Fix Client.fetch_channel not returning Thread
This commit is contained in:
1 parent
097b6064f1
commit
d1dc41ec2f
7 files changed
+22
-15
No files matched your search
@@ -750,4 +750,4 @@ class ArchivedThreadIterator(_AsyncIterator['Thread']):
|
||||
|
||||
def create_thread(self, data: ThreadPayload) -> Thread:
|
||||
from .threads import Thread
|
||||
return Thread(guild=self.guild, data=data)
|
||||
return Thread(guild=self.guild, state=self.guild._state, data=data)
|
||||
Reference in new issue
Block a user