$joinThread
$joinThread
will make the bot join a specific thread.
Usage
$joinThread[channelID;threadID]
Parameters
Field | Type | Description | Required |
---|---|---|---|
channelID | number | The channel ID of where the thread is located in. | true |
threadID | number | The ID of the thread. | true |
Example(s)
This will create a thread in the current channel and add the bot to it:
1client.command({2 name: "joinThread",3 code: `4 $joinThread[$channelID;$get[threadID]]5 $let[threadID;$createThread[$channelID;Example!;1440;public;$messageID;true]]6 `7});