From 7c6724fdd7d35b56850993c3ba9a4e472ac26ce8 Mon Sep 17 00:00:00 2001 From: Rapptz Date: Fri, 16 Apr 2021 05:13:31 -0400 Subject: [PATCH] Fix typo in start_private_thread This also renames archive_threads to archived_threads --- discord/channel.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/discord/channel.py b/discord/channel.py index 0e28f52b0..290da6649 100644 --- a/discord/channel.py +++ b/discord/channel.py @@ -613,7 +613,7 @@ class TextChannel(discord.abc.Messageable, discord.abc.GuildChannel, Hashable): Starting the thread failed. """ - data = await self._state.http.start_public_thread( + data = await self._state.http.start_private_thread( self.id, name=name, auto_archive_duration=auto_archive_duration, @@ -621,7 +621,7 @@ class TextChannel(discord.abc.Messageable, discord.abc.GuildChannel, Hashable): ) return Thread(guild=self.guild, data=data) - async def archive_threads( + async def archived_threads( self, *, private: bool = True,