mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-06-06 03:47:29 +00:00
parent
8991525215
commit
0adef0ec89
@ -673,7 +673,7 @@ class AppCommandThread(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.
|
||||
|
@ -737,7 +737,7 @@ class TextChannel(discord.abc.Messageable, discord.abc.GuildChannel, Hashable):
|
||||
If ``None`` is passed then a private thread is created.
|
||||
Defaults to ``None``.
|
||||
auto_archive_duration: :class:`int`
|
||||
The duration in minutes before a thread is automatically archived for inactivity.
|
||||
The duration in minutes before a thread is automatically hidden from the channel list.
|
||||
If not provided, the channel's default auto archive duration is used.
|
||||
|
||||
Must be one of ``60``, ``1440``, ``4320``, or ``10080``, if provided.
|
||||
@ -2607,7 +2607,7 @@ class ForumChannel(discord.abc.GuildChannel, Hashable):
|
||||
name: :class:`str`
|
||||
The name of the thread.
|
||||
auto_archive_duration: :class:`int`
|
||||
The duration in minutes before a thread is automatically archived for inactivity.
|
||||
The duration in minutes before a thread is automatically hidden from the channel list.
|
||||
If not provided, the channel's default auto archive duration is used.
|
||||
|
||||
Must be one of ``60``, ``1440``, ``4320``, or ``10080``, if provided.
|
||||
|
@ -1215,7 +1215,7 @@ class PartialMessage(Hashable):
|
||||
name: :class:`str`
|
||||
The name of the thread.
|
||||
auto_archive_duration: :class:`int`
|
||||
The duration in minutes before a thread is automatically archived for inactivity.
|
||||
The duration in minutes before a thread is automatically hidden from the channel list.
|
||||
If not provided, the channel's default auto archive duration is used.
|
||||
|
||||
Must be one of ``60``, ``1440``, ``4320``, or ``10080``, if provided.
|
||||
|
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user