$isTicket
$isTicket
will return either true or false depending on the channel being a ticket channel.
Usage
$isTicket[channelID?]
Parameters
Field | Type | Description | Required |
---|---|---|---|
channelID? | number | Channel ID. | false |
Example(s)
This will check if the current channel is a ticket channel created by $newTicket
:
1client.command({2 name: "isTicket",3 code: `4 $isTicket[$channelID]5 `6});