BaseTicket

The base ticket class.

Constructor

new BaseTicket(client, manager, data)

The constructor of the base ticket class.

Parameters:
NameTypeDescription
clientClient

The client

managerBaseTicketManager

The ticket manager

dataTicketDataRaw

The data of the ticket

Members

channel

The channel of the ticket

channelId

The channel id of the ticket

client :Client

The client

Type:
  • Client

guild

The guild of the ticket

guildId

The guild id of the ticket

manager :BaseTicketManager

The manager of the ticket

member

The guild member of the ticket creator

number

The number of the ticket

participants

The participants of the ticket

status

The status of the ticket

type

The type of the ticket

user

The user of the ticket creator

userId

The user id of the creator of the ticket