Template variables insert dynamic content into visual command and event responses. Wrap them in curly braces.
| Variable | Description |
|---|
{user} | @mention the triggering user |
{user.name} | Username (plain text) |
{user.id} | Discord user ID |
{server} | Server name |
{server.members} | Member count |
{channel} | Current channel name |
{channel.id} | Current channel ID |
| Variable | Description |
|---|
{bot.name} | Bot username |
{bot.prefix} | Configured prefix (e.g. !) |
{bot.latency} | WebSocket ping in ms |
{bot.uptime} | Human-readable uptime |
| Variable | Description |
|---|
{option:name} | Value of a slash command option |
{setting:key} | Per-guild setting value |
{store:key} | Value from the KV store |
| Variable | Description |
|---|
{random:a,b,c} | Random pick from a comma-separated list |
{count:members} | Server member count |
{timestamp} | Current Unix timestamp |
{timestamp:iso} | Current time as ISO 8601 |
Template variables work in all visual actions — commands and events alike.