Skip to main content

Threads

Actions in the category "Threads".

Create thread​

Creates a new thread in a text channel.

Required permissions: Create public threads.

Inputs

NameTypeRequiredDetails
ChannelText channelYesChannel to create the thread in.
NameTextYesName of the thread. Length: 1 to 100 characters.
Auto-archive durationDurationYesWhen the thread auto-archives after inactivity. Allowed values: 3600000, 86400000, 259200000, 604800000. Default: 86400000.
Private threadYes/NoYesMake the thread private (invite only). Default: No.
Starter messageMessage contentNoSend this message as the first message of the thread.

Outputs

NameTypeDetails
ThreadThreadThe newly created thread.

Start thread from message​

Creates a new thread that branches off an existing message.

Required permissions: Create public threads.

Inputs

NameTypeRequiredDetails
Source MessageMessageYesThe message the thread will be attached to.
Thread NameTextYesName of the new thread (1-100 characters). Length: 1 to 100 characters.
Auto-archive DurationWhole numberNoMinutes of inactivity after which the thread auto-archives. Allowed values: 60, 1440, 4320, 10080. Default: 1440.
SlowmodeWhole numberNoPer-user message cooldown in seconds (0-21600). Value: 0 to 21600.
Audit Log ReasonTextNoOptional reason recorded in the audit log. Maximum length: 512 characters.

Outputs

NameTypeDetails
ThreadThreadThe newly created thread.

Create public thread​

Creates a new public thread inside a text channel without anchoring it to a message.

Required permissions: Create public threads.

Inputs

NameTypeRequiredDetails
Parent ChannelText channelYesThe text channel that will host the thread.
Thread NameTextYesName of the new thread (1-100 characters). Length: 1 to 100 characters.
Auto-archive DurationWhole numberNoMinutes of inactivity after which the thread auto-archives. Allowed values: 60, 1440, 4320, 10080. Default: 1440.
SlowmodeWhole numberNoPer-user message cooldown in seconds (0-21600). Value: 0 to 21600.
Audit Log ReasonTextNoOptional reason recorded in the audit log. Maximum length: 512 characters.

Outputs

NameTypeDetails
ThreadThreadThe newly created public thread.

Create private thread​

Creates a new private thread inside a text channel.

Required permissions: Create private threads.

Inputs

NameTypeRequiredDetails
Parent ChannelText channelYesThe text channel that will host the thread.
Thread NameTextYesName of the new thread (1-100 characters). Length: 1 to 100 characters.
Auto-archive DurationWhole numberNoMinutes of inactivity after which the thread auto-archives. Allowed values: 60, 1440, 4320, 10080. Default: 1440.
InvitableYes/NoNoWhether non-moderators may invite others to the thread. Default: Yes.
SlowmodeWhole numberNoPer-user message cooldown in seconds (0-21600). Value: 0 to 21600.
Audit Log ReasonTextNoOptional reason recorded in the audit log. Maximum length: 512 characters.

Outputs

NameTypeDetails
ThreadThreadThe newly created private thread.

Create forum post​

Creates a new post (thread) inside a forum or media channel with a starter message.

Required permissions: Send messages, Create public threads.

Inputs

NameTypeRequiredDetails
Forum ChannelForum channelYesThe forum or media channel that will host the post.
Post TitleTextYesTitle of the forum post (1-100 characters). Length: 1 to 100 characters.
Applied TagsList of Forum tagNoForum tags to apply to the post (max 5). Maximum items: 5.
Starter MessageMessage contentYesContent for the post's first message.
Auto-archive DurationWhole numberNoMinutes of inactivity after which the post auto-archives. Allowed values: 60, 1440, 4320, 10080. Default: 1440.
SlowmodeWhole numberNoPer-user message cooldown in seconds (0-21600). Value: 0 to 21600.
Audit Log ReasonTextNoOptional reason recorded in the audit log. Maximum length: 512 characters.

Outputs

NameTypeDetails
Forum PostThreadThe newly created forum post thread.
Starter MessageMessageThe first message of the forum post.

Archive thread​

Archives a thread, hiding it from the active threads list.

Required permissions: Manage threads.

Inputs

NameTypeRequiredDetails
ThreadThreadYesThe thread to archive.
Audit Log ReasonTextNoOptional reason recorded in the audit log. Maximum length: 512 characters.

Outputs

NameTypeDetails
ThreadThreadThe archived thread.

Unarchive thread​

Reopens a previously archived thread so it appears in the active list again.

Required permissions: Manage threads.

Inputs

NameTypeRequiredDetails
ThreadThreadYesThe archived thread to reopen.
Audit Log ReasonTextNoOptional reason recorded in the audit log. Maximum length: 512 characters.

Outputs

NameTypeDetails
ThreadThreadThe reopened thread.

Lock thread​

Locks a thread so only moderators can send messages or unarchive it.

Required permissions: Manage threads.

Inputs

NameTypeRequiredDetails
ThreadThreadYesThe thread to lock.
Audit Log ReasonTextNoOptional reason recorded in the audit log. Maximum length: 512 characters.

Outputs

NameTypeDetails
ThreadThreadThe locked thread.

Unlock thread​

Removes the lock from a thread so members can send messages again.

Required permissions: Manage threads.

Inputs

NameTypeRequiredDetails
ThreadThreadYesThe thread to unlock.
Audit Log ReasonTextNoOptional reason recorded in the audit log. Maximum length: 512 characters.

Outputs

NameTypeDetails
ThreadThreadThe unlocked thread.

Update thread name​

Renames a thread.

Required permissions: Manage threads.

Inputs

NameTypeRequiredDetails
ThreadThreadYesThe thread to rename.
New NameTextYesNew thread name (1-100 characters). Length: 1 to 100 characters.
Audit Log ReasonTextNoOptional reason recorded in the audit log. Maximum length: 512 characters.

Outputs

NameTypeDetails
ThreadThreadThe renamed thread.

Update thread auto-archive duration​

Changes how long a thread can stay inactive before auto-archiving.

Required permissions: Manage threads.

Inputs

NameTypeRequiredDetails
ThreadThreadYesThe thread to update.
Auto-archive DurationWhole numberYesMinutes of inactivity before auto-archive (60, 1440, 4320, 10080). Allowed values: 60, 1440, 4320, 10080.
Audit Log ReasonTextNoOptional reason recorded in the audit log. Maximum length: 512 characters.

Outputs

NameTypeDetails
ThreadThreadThe updated thread.

Update thread slowmode​

Sets a thread's per-user message cooldown.

Required permissions: Manage threads.

Inputs

NameTypeRequiredDetails
ThreadThreadYesThe thread to update.
SlowmodeWhole numberYesPer-user message cooldown in seconds (0-21600). Value: 0 to 21600.
Audit Log ReasonTextNoOptional reason recorded in the audit log. Maximum length: 512 characters.

Outputs

NameTypeDetails
ThreadThreadThe updated thread.

Update forum post tags​

Replaces the applied tags on a forum or media channel post.

Required permissions: Manage threads.

Inputs

NameTypeRequiredDetails
Forum PostThreadYesThe forum post to update.
Applied TagsList of Forum tagYesNew set of tags to apply (max 5). Maximum items: 5.
Audit Log ReasonTextNoOptional reason recorded in the audit log. Maximum length: 512 characters.

Outputs

NameTypeDetails
Forum PostThreadThe updated forum post.

Update private thread invitable​

Toggles whether non-moderators can invite others to a private thread.

Required permissions: Manage threads.

Inputs

NameTypeRequiredDetails
ThreadThreadYesThe private thread to update.
InvitableYes/NoYesIf true, non-moderators may invite others.
Audit Log ReasonTextNoOptional reason recorded in the audit log. Maximum length: 512 characters.

Outputs

NameTypeDetails
ThreadThreadThe updated private thread.

Update thread flags​

Sets the raw thread flags bitfield on a thread (advanced).

Required permissions: Manage threads.

Inputs

NameTypeRequiredDetails
ThreadThreadYesThe thread to update.
FlagsWhole numberYesBitfield of thread flags. Minimum: 0.
Audit Log ReasonTextNoOptional reason recorded in the audit log. Maximum length: 512 characters.

Outputs

NameTypeDetails
ThreadThreadThe updated thread.

Delete thread​

Permanently deletes a thread and all of its messages.

Required permissions: Manage threads.

Inputs

NameTypeRequiredDetails
ThreadThreadYesThe thread to delete.
Audit Log ReasonTextNoOptional reason recorded in the audit log. Maximum length: 512 characters.

Add member to thread​

Adds a user to a thread so they receive its messages.

Inputs

NameTypeRequiredDetails
ThreadThreadYesThe thread to add the user to.
UserUserYesThe user to add.

Remove member from thread​

Removes a user from a thread.

Required permissions: Manage threads.

Inputs

NameTypeRequiredDetails
ThreadThreadYesThe thread to remove the user from.
UserUserYesThe user to remove.

Join thread​

Has the bot join a thread.

Inputs

NameTypeRequiredDetails
ThreadThreadYesThe thread the bot should join.

Leave thread​

Has the bot leave a thread.

Inputs

NameTypeRequiredDetails
ThreadThreadYesThe thread the bot should leave.

Fetch thread members​

Returns every member currently part of a thread.

Inputs

NameTypeRequiredDetails
ThreadThreadYesThe thread whose members should be fetched.

Outputs

NameTypeDetails
MembersList of Server memberMembers of the thread.

Fetch active threads​

Returns every active (non-archived) thread the bot can see in a server.

Outputs

NameTypeDetails
ThreadsList of ThreadActive threads in the server.

Pin forum post​

Pins a thread inside a forum or media channel so it appears at the top of the post list.

Required permissions: Manage threads.

Inputs

NameTypeRequiredDetails
Forum PostThreadYesThe forum post to pin.
Audit Log ReasonTextNoOptional reason recorded in the audit log. Maximum length: 512 characters.

Outputs

NameTypeDetails
Forum PostThreadThe pinned forum post.

Unpin forum post​

Unpins a previously pinned thread inside a forum or media channel.

Required permissions: Manage threads.

Inputs

NameTypeRequiredDetails
Forum PostThreadYesThe forum post to unpin.
Audit Log ReasonTextNoOptional reason recorded in the audit log. Maximum length: 512 characters.

Outputs

NameTypeDetails
Forum PostThreadThe unpinned forum post.

Build forum tag​

Build a forum tag value to be applied to a forum or media channel.

Inputs

NameTypeRequiredDetails
NameTextYesTag display name. Maximum length: 20 characters.
EmojiTextNoOptional emoji shown alongside the tag.
ModeratedYes/NoYesIf true, only members with the Manage Threads permission may apply this tag. Default: No.

Outputs

NameTypeDetails
TagForum tagThe constructed forum tag.

Add forum tag​

Appends a forum tag to a tag list and returns the updated list (max 20 tags). Use the result in a forum/media channel's available tags, or a forum post's applied tags.

Inputs

NameTypeRequiredDetails
TagsList of Forum tagNoThe tag list to extend (leave empty to start a new list). Maximum items: 20.
TagForum tagYesThe forum tag to append (from Create forum tag).

Outputs

NameTypeDetails
TagsList of Forum tagThe updated tag list.

Fetch thread by ID​

Fetches a thread by its Discord ID. Returns an empty value if not found or if the channel is not a thread.

Inputs

NameTypeRequiredDetails
Thread IDDiscord IDYesDiscord ID of the thread.

Outputs

NameTypeDetails
ThreadThreadThe fetched thread, or empty. May be empty.

Fetch archived threads​

Returns archived threads in the current server, either public or private.

Inputs

NameTypeRequiredDetails
PrivacyThread privacyYesFetch public or private archived threads. Default: Public.
LimitWhole numberNoMaximum number of threads to return (1-100). Value: 1 to 100. Default: 50.

Outputs

NameTypeDetails
ThreadsList of ThreadThe archived threads.
Need more help?
Can't find what you're looking for? Our team is happy to help.