|
@ -646,6 +646,11 @@ class TextChannel(discord.abc.Messageable, discord.abc.GuildChannel, Hashable): |
|
|
def get_thread(self, thread_id: int, /) -> Optional[Thread]: |
|
|
def get_thread(self, thread_id: int, /) -> Optional[Thread]: |
|
|
"""Returns a thread with the given ID. |
|
|
"""Returns a thread with the given ID. |
|
|
|
|
|
|
|
|
|
|
|
.. note:: |
|
|
|
|
|
|
|
|
|
|
|
This does not always retrieve archived threads, as they are not retained in the internal |
|
|
|
|
|
cache. Use :func:`Guild.fetch_channel` instead. |
|
|
|
|
|
|
|
|
.. versionadded:: 2.0 |
|
|
.. versionadded:: 2.0 |
|
|
|
|
|
|
|
|
Parameters |
|
|
Parameters |
|
|