Plugins

{ticket} Tags

{ticket.authorId;channel}

Gets the ID of the ticket's author, if one is in context.

NameTypeDefaultDescription
ticketTicketcontext TicketThe ticket you want to get the author ID of.

{ticket.channelId}

Gets the ID of the ticket's channel, if one is in context.

NameTypeDefaultDescription
ticketTicketcontext TicketThe ticket you want to get the channel ID of.

{ticket.close;channel}

Note

This tag is part of the Mutate Channel expensive group.

Close the ticket channel.

NameTypeDefaultDescription
ticketTicketcontext TicketThe ticket you want to close.

{ticket.create}

Note

This tag is part of the Mutate Channel expensive group.

Open the ticket channel.

NameTypeDefaultDescription
userUser?Context UserThe user you are creating this ticket for.
reasonstring?The reason you are creating this ticket.
returnIdbooleanfalseWhether to return the created tickets id.
prefixstring?The prefix to set.

{ticket.prefix;channel;prefix}

Note

This tag is part of the Mutate Channel expensive group.

Add a prefix to the beinging of the ticket channel's name. Leave prefix blank to return the current prefix.

NameTypeDefaultDescription
ticketTicketcontext TicketThe ticket you want to add a prefix to.
prefixstringThe prefix to add to the channel name. If blank, the prefix is removed. If unset, the ticket prefix is returned.

{ticket.reason;ticket}

Gets the reason of the ticket, if one is in context.

NameTypeDefaultDescription
ticketTicketcontext TicketThe ticket you want to get the reason of.