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