$archiveThread
Archives a thread.
Usage
$archiveThread[threadID]
This function has one param.
Parmas
Description
Type
Required
threadID
The ID of the thread channel to delete.
Snowflake
Yes
Example
bot.commands.add({
type: "basicCommand",
name: "example",
code: `
$onlyIf[$channelType[$noMentionMessage]==thread;:x: That's a not a thread channel!]
$archiveThread[$noMentionMessage]
Archived thread!
`
})
Last updated
Was this helpful?