Supported Variables

Description of the variables you can use across your ticket system

A variable, just as in math, is something that can have a changing state. In your tickets you have access to certain variables whose value will vary among tickets, you can use these variables on the different fields of your ticket messages!!

Let's see a bit more about what each variable works for

General Variables

Ticket Variables

  • {ticket.owner} is just an alias of {ticket.user} meaning it has all of it's sub-variables {ticket.owner.name} and so on.

  • This set of variables as it name tells, will only work within tickets, if you use it within a tag it will only render when used within a ticket.

Author Variables

Let's talk about the {author} variable. Any action, such as opening, closing, claiming, deleting etc, a ticket, will have the {author} variable, which refers to the user who triggered the action.

The {author} variable has the same as usage as {user}. Take into account that {ticket.user} refers to the user creating a ticket, so if for example you want to ping the user of your ticket in the claiming, do not use {user} as it will ping the user who claimed, if you want to ping use {ticket.user}. {user}{ticket.user}

Special Variables

Time Variables

The time-action variables that point to actions that can take place more than once (e.g claiming, closure, re-opening), will take the value of the last moment the action took place.

For a more convinient use on Discord's Dynamic Timestamps we recommend you checking HammerTime, here you can replace the actual unix time for the {time} variable to make custom messages!

Modifiers

Since October 2022, you can customize even more your variables! These are all the modifiers you can apply at the end of your variables, remember that to use them you must prefix them using ?, check the cheatsheet for a sample.

Cheatsheet

Here you'll find some examples when using this modifiers, if you have questions around them, don't hesitate to contact our Support Team

Last updated