$deleteThread
$deleteThread
will delete a given thread of a channel.
Usage
Parameters
Field | Type | Description | Required |
---|---|---|---|
channelID | number | The ID of the channel where the thread exists in. | true |
threadID | number | The thread ID. | true |
reason? | string | The reason which will be displayed in the guild’s audit logs. | false |
Example(s)
This will delete a thread of the channel where you execute the command in ( make sure to replace threadID with an actual thread ID ):