$isTicket

Check if the current or given channel is a ticket.

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.