$isTicket

Checks whether the current or specified channel is a ticket or not.

🧙‍♂️ “true” means the channel is a ticket, “false” means it isn’t.

Syntax

$isTicket[(Channel ID)]

Parameters

  • Channel ID (Type: Snowflake || Flag: Optional): The channel to check. (Defaults to the current channel)

Example

$nomention
$onlyIf[$isTicket[]==true;This command can only be used in a ticket!]
This is a ticket!

example
example

To create a ticket, use the $newTicket[] function.