Skip to content

ThreadEditData

typedef · Source

The options used to edit a thread channel Type: Object

Properties

name

optional

name: string

The new name for the thread

archived

optional

archived: boolean

Whether the thread is archived

autoArchiveDuration

optional

autoArchiveDuration: ThreadAutoArchiveDuration

The amount of time (in minutes) after which the thread should automatically archive in case of no recent activity

rateLimitPerUser

optional

rateLimitPerUser: number

The rate limit per user (slowmode) for the thread in seconds

locked

optional

locked: boolean

Whether the thread is locked

invitable

optional

invitable: boolean

Whether non-moderators can add other non-moderators to a thread Can only be edited on GUILD_PRIVATE_THREAD

appliedTags

optional

appliedTags: Array<Snowflake>

The tags to apply to the thread

flags

optional

flags: ChannelFlagsResolvable

The flags to set on the channel

Unofficial software. Not affiliated with or supported by Discord.