Browse Source

Document default_auto_archive_duration accepted values

pull/9200/head
Rapptz 2 years ago
parent
commit
26beabb740
  1. 2
      discord/guild.py

2
discord/guild.py

@ -1269,6 +1269,7 @@ class Guild(Hashable):
.. versionadded:: 2.0
default_auto_archive_duration: :class:`int`
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
reason: Optional[:class:`str`]
@ -1578,6 +1579,7 @@ class Guild(Hashable):
The reason for creating this channel. Shows up in the audit log.
default_auto_archive_duration: :class:`int`
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`
The default slowmode delay in seconds for threads created in this forum.

Loading…
Cancel
Save