$unlockThread
$unlockThread will unlock a specified thread.
Usage
$unlockThread[channelID;threadID;reason?]Parameters
| Field | Type | Description | Required |
|---|---|---|---|
| channelID | number | The ID of the channel where the thread is a parent of. | true |
| threadID | number | The ID of the thread which will be unlocked. | true |
| reason? | string | The reason which will be displayed in the guild’s audit logs. | false |
Example(s)
This will unlock a given thread:
1client.command({2 name: "unlockThread",3 code: `4 $unlockThread[$channelID;threadID;Example reason!]5 `6});