aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRapptz <[email protected]>2021-04-17 01:33:35 -0400
committerRapptz <[email protected]>2021-06-08 07:25:40 -0400
commit51cc7622a6314bfa97c77df45dbd705a4a77113e (patch)
treed45aa848fd0786dd6ca2911135fa46753873f655
parentFix typo with archived_threads iterator leading to AttributeError (diff)
downloaddiscord.py-51cc7622a6314bfa97c77df45dbd705a4a77113e.tar.xz
discord.py-51cc7622a6314bfa97c77df45dbd705a4a77113e.zip
TextChannel.archived_threads is not a coroutine
-rw-r--r--discord/channel.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/channel.py b/discord/channel.py
index 290da664..5e2d16b9 100644
--- a/discord/channel.py
+++ b/discord/channel.py
@@ -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,