Document get_thread not fetching archived threads

This commit is contained in:
mirnovov authored and GitHub committed 2022-08-16 16:59:20 -04:00
1 parent 1097e1d975
commit 5039b967a0
2 files changed
+10

No files matched your search

+5
View File
@@ -739,6 +739,11 @@ class Guild(Hashable):
def get_thread(self, thread_id: int, /) -> Optional[Thread]:
"""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:`fetch_channel` instead.
.. versionadded:: 2.0
Parameters