$isThread
$isThread will check if the given channel is a thread or not.
Usage
$isThread[channelID?]Parameters
| Field | Type | Description | Required |
|---|---|---|---|
| channelID? | number | ID of the channel that you want to check. | false |
Example(s)
This will return either true or false depending on if you’re executing the command in a thread:
1client.command({2 name: "isThread",3 code: `4 $isThread[$channelID]5 `6});