Skip to content

Commit 5cd99f2

Browse files
LulalabyCopilot
andauthored
Apply suggestions from code review
Co-authored-by: Copilot <[email protected]> Signed-off-by: Lala Sabathil <[email protected]>
1 parent 7419df8 commit 5cd99f2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

discord/channel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1148,7 +1148,7 @@ async def edit(self, *, reason=None, **options):
11481148
default_auto_archive_duration: :class:`int`
11491149
The new default auto archive duration in minutes for threads created in this channel.
11501150
Must be one of ``60``, ``1440``, ``4320``, or ``10080``.
1151-
:class:`ThreadAutoArchiveDuration` can be used alternatively.
1151+
:class:`ThreadArchiveDuration` can be used alternatively.
11521152
default_thread_slowmode_delay: :class:`int`
11531153
The new default slowmode delay in seconds for threads created in this channel.
11541154

discord/threads.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -640,7 +640,7 @@ async def edit(
640640
auto_archive_duration: :class:`int`
641641
The new duration in minutes before a thread is automatically archived for inactivity.
642642
Must be one of ``60``, ``1440``, ``4320``, or ``10080``.
643-
:class:`ThreadAutoArchiveDuration` can be used alternatively.
643+
:class:`ThreadArchiveDuration` can be used alternatively.
644644
slowmode_delay: :class:`int`
645645
Specifies the slowmode rate limit for user in this thread, in seconds.
646646
A value of ``0`` disables slowmode. The maximum value possible is ``21600``.

0 commit comments

Comments
 (0)