diff options
| author | Rapptz <[email protected]> | 2021-04-17 01:33:35 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2021-06-08 07:25:40 -0400 |
| commit | 51cc7622a6314bfa97c77df45dbd705a4a77113e (patch) | |
| tree | d45aa848fd0786dd6ca2911135fa46753873f655 | |
| parent | Fix typo with archived_threads iterator leading to AttributeError (diff) | |
| download | discord.py-51cc7622a6314bfa97c77df45dbd705a4a77113e.tar.xz discord.py-51cc7622a6314bfa97c77df45dbd705a4a77113e.zip | |
TextChannel.archived_threads is not a coroutine
| -rw-r--r-- | discord/channel.py | 2 |
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, |