Fix Client.fetch_channel not returning Thread
This commit is contained in:
@ -1491,7 +1491,7 @@ class Message(Hashable):
|
||||
auto_archive_duration=auto_archive_duration,
|
||||
type=ChannelType.public_thread.value,
|
||||
)
|
||||
return Thread(guild=self.guild, data=data) # type: ignore
|
||||
return Thread(guild=self.guild, state=self._state, data=data) # type: ignore
|
||||
|
||||
async def reply(self, content: Optional[str] = None, **kwargs) -> Message:
|
||||
"""|coro|
|
||||
|
Reference in New Issue
Block a user