{user.mention}, or go further and add layout tags like {title: …} and {color: haze} to build a fully branded message without touching any code.
Two Modes
The engine automatically picks a rendering mode based on what your template contains.How Detection Works
Haze scans your template for tags that follow the{name: value} pattern — a name, a colon, and a value. If at least one such tag is found, the whole template is treated as a component script. If none are found, it runs in variables-only mode and your text is returned with variables substituted.
A {user.mention} placeholder has no colon after the root word, so it is always treated as a variable, not a tag. The colon is what separates the two systems.
Preview Commands
Before saving a script to a ticket welcome or any other setting, preview it in Discord so you can catch mistakes early. Preview a script inline:Where Scripts Are Used
- Ticket welcome messages — set a server-wide default welcome that fires when any ticket is opened
- Per-button welcome messages — override the default for a specific ticket button so different buttons can show different cards