Skip to content

$unlockThread

$unlockThread will unlock a specified thread.

Usage

$unlockThread[channelID;threadID;reason?]

Parameters

FieldTypeDescriptionRequired
channelIDnumberThe ID of the channel where the thread is a parent of.true
threadIDnumberThe ID of the thread which will be unlocked.true
reason?stringThe reason which will be displayed in the guild’s audit logs.false

Example(s)

This will unlock a given thread:

1
client.command({
2
name: "unlockThread",
3
code: `
4
$unlockThread[$channelID;threadID;Example reason!]
5
`
6
});