Document default_auto_archive_duration accepted values

This commit is contained in:
Rapptz 2023-01-21 00:12:21 -05:00
parent bee7f903e3
commit 26beabb740

View File

@ -1269,6 +1269,7 @@ class Guild(Hashable):
.. versionadded:: 2.0 .. versionadded:: 2.0
default_auto_archive_duration: :class:`int` default_auto_archive_duration: :class:`int`
The default auto archive duration for threads created in the text channel (in minutes). The default auto archive duration for threads created in the text channel (in minutes).
Must be one of ``60``, ``1440``, ``4320``, or ``10080``.
.. versionadded:: 2.0 .. versionadded:: 2.0
reason: Optional[:class:`str`] reason: Optional[:class:`str`]
@ -1578,6 +1579,7 @@ class Guild(Hashable):
The reason for creating this channel. Shows up in the audit log. The reason for creating this channel. Shows up in the audit log.
default_auto_archive_duration: :class:`int` default_auto_archive_duration: :class:`int`
The default auto archive duration for threads created in the forum channel (in minutes). The default auto archive duration for threads created in the forum channel (in minutes).
Must be one of ``60``, ``1440``, ``4320``, or ``10080``.
default_thread_slowmode_delay: :class:`int` default_thread_slowmode_delay: :class:`int`
The default slowmode delay in seconds for threads created in this forum. The default slowmode delay in seconds for threads created in this forum.