Threads are subset-channels within a channel. Threads are great for separating different conversations in one channel. This wiki will explain how you can integrate threads in your bot.
⚠️ In order to send a message in thread, make sure your bot has
$startThread[name;channelID;messageID (canBeLeftEmpty);archiveDuration (60/1440/4320/10080);returnThreadID (yes/no)]
Starts a thread (learn more)
$editThread[threadID;name;archived (yes/no);archiveDuration (60/1440/4320/10080);locked (yes/no);slowmode (in seconds)]
Edits an existing thread. (learn more)
Adds a user to the thread. (learn more)
Removes a user from the thread. (learn more)
$var[threadID;$startThread[Cool Thread;$channelID;;1440;yes]] I created a new thread! <#$var[threadID]> $c[❗️This example requires BDScript 2 enabled❗️]
If you want to learn more about threads, read Discord's support article.