$startThread
Creates a new thread in the provided channel.
Syntax
$startThread[Thread name;Channel ID;Message ID;(Archive duration;Return thread ID?)]
Required permissions that the bot must have for this function to work properly:
createpublicthreads
Parameters
Thread name(Type: String || Flag: Required): The name of the newly created thread.Channel ID(Type: Snowflake || Flag: Required): The channel where the thread will be created.Message ID(Type: Snowflake || Flag: Emptiable): The message from which the thread will be created. Can be left empty.Archive duration(Type: Integer || Flag: Optional): The archive duration after which the thread will be auto-archived due to inactivity. Defaults to60.Return thread ID?(Type: Bool || Flag: Optional): Whether to return the thread channel ID or not. Defaults tono.
Archive Duration
60 - 1 Hour
1440 - 1 Day
4320 - 3 Days (Only for servers with level 1 boosted)
10080 - 7 Days (Only for servers with level 2 boosted)
Example
$nomention
I created a new thread! <#$startThread[Cool Thread;$channelID;;1440;yes]>
For more information, read the Threads Guide.