From 26beabb74047a1cc506c3a6a1a496e1f221f95a4 Mon Sep 17 00:00:00 2001 From: Rapptz Date: Sat, 21 Jan 2023 00:12:21 -0500 Subject: [PATCH] Document default_auto_archive_duration accepted values --- discord/guild.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/discord/guild.py b/discord/guild.py index f69a591bc..c2a2341e7 100644 --- a/discord/guild.py +++ b/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.