Skip to content

$isTicket

$isTicket will return either true or false depending on the channel being a ticket channel.

Usage

$isTicket[channelID?]

Parameters

FieldTypeDescriptionRequired
channelID?numberChannel ID.false

Example(s)

This will check if the current channel is a ticket channel created by $newTicket:

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