Update auto_archive_duration documentation

Fix #9351
This commit is contained in:
Rapptz
2023-04-18 01:08:52 -04:00
parent 8991525215
commit 0adef0ec89
4 changed files with 6 additions and 6 deletions

View File

@ -122,7 +122,7 @@ class Thread(Messageable, Hashable):
archiver_id: Optional[:class:`int`]
The user's ID that archived this thread.
auto_archive_duration: :class:`int`
The duration in minutes until the thread is automatically archived due to inactivity.
The duration in minutes until the thread is automatically hidden from the channel list.
Usually a value of 60, 1440, 4320 and 10080.
archive_timestamp: :class:`datetime.datetime`
An aware timestamp of when the thread's archived status was last updated in UTC.
@ -608,7 +608,7 @@ class Thread(Messageable, Hashable):
Whether non-moderators can add other non-moderators to this thread.
Only available for private threads.
auto_archive_duration: :class:`int`
The new duration in minutes before a thread is automatically archived for inactivity.
The new duration in minutes before a thread is automatically hidden from the channel list.
Must be one of ``60``, ``1440``, ``4320``, or ``10080``.
slowmode_delay: :class:`int`
Specifies the slowmode rate limit for user in this thread, in seconds.