Browse Source

Add note about archiver_id

pull/9857/head
Eric Schneider 10 months ago
committed by GitHub
parent
commit
2c197649c2
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 4
      discord/threads.py

4
discord/threads.py

@ -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.

Loading…
Cancel
Save