mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-18 23:15:48 +00:00
Fix TextChannel.archived_threads docstring
This commit is contained in:
parent
298bd7492c
commit
0dbebf87b2
@ -751,7 +751,7 @@ class TextChannel(discord.abc.Messageable, discord.abc.GuildChannel, Hashable):
|
||||
limit: Optional[int] = 100,
|
||||
before: Optional[Union[Snowflake, datetime.datetime]] = None,
|
||||
) -> AsyncIterator[Thread]:
|
||||
"""Returns an :term:`asynchronous iterator` that iterates over all archived threads in the guild,
|
||||
"""Returns an :term:`asynchronous iterator` that iterates over all archived threads in this text channel,
|
||||
in order of decreasing ID for joined threads, and decreasing :attr:`Thread.archive_timestamp` otherwise.
|
||||
|
||||
You must have :attr:`~Permissions.read_message_history` to use this. If iterating over private threads
|
||||
|
Loading…
x
Reference in New Issue
Block a user