Skip to content

$joinThread

$joinThread will make the bot join a specific thread.

Usage

$joinThread[channelID;threadID]

Parameters

FieldTypeDescriptionRequired
channelIDnumberThe channel ID of where the thread is located in.true
threadIDnumberThe ID of the thread.true

Example(s)

This will create a thread in the current channel and add the bot to it:

1
client.command({
2
name: "joinThread",
3
code: `
4
$joinThread[$channelID;$get[threadID]]
5
$let[threadID;$createThread[$channelID;Example!;1440;public;$messageID;true]]
6
`
7
});