Skip to content

Commit

Permalink
Add note about archiver_id
Browse files Browse the repository at this point in the history
  • Loading branch information
tailoric committed May 30, 2024
1 parent 205ddaf commit 2c19764
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions discord/threads.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,10 @@ class Thread(Messageable, Hashable):
This is always ``True`` for public threads.
archiver_id: Optional[:class:`int`]
The user's ID that archived this thread.
.. note::
Due to an API change, the ``archiver_id`` will always be ``None`` and can only be obtained via the audit log.
auto_archive_duration: :class:`int`
The duration in minutes until the thread is automatically hidden from the channel list.
Usually a value of 60, 1440, 4320 and 10080.
Expand Down

0 comments on commit 2c19764

Please sign in to comment.