mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-20 16:00:29 +00:00
Fix typo in start_private_thread
This also renames archive_threads to archived_threads
This commit is contained in:
parent
9d3962aa7a
commit
7c6724fdd7
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user