TextChannel.archived_threads is not a coroutine

This commit is contained in:
Rapptz 2021-04-17 01:33:35 -04:00
parent cb9a506686
commit 51cc7622a6

View File

@ -621,7 +621,7 @@ class TextChannel(discord.abc.Messageable, discord.abc.GuildChannel, Hashable):
)
return Thread(guild=self.guild, data=data)
async def archived_threads(
def archived_threads(
self,
*,
private: bool = True,