> ## Documentation Index
> Fetch the complete documentation index at: https://docs.wrdnbot.xyz/llms.txt
> Use this file to discover all available pages before exploring further.

# Variables

> Dynamic placeholders for embeds, logs, and custom messages.

When you customize embeds or log text in Warden, wrap dynamic values in curly braces. Warden fills them in when the message sends.

<Tip>
  Not sure which placeholders a screen accepts? The config flow often includes a **Variables** button next to message editors.
</Tip>

## Time formats

Works in infractions, feedback, sessions, and ER:LC log templates:

| Placeholder | Resolves to                          |
| ----------- | ------------------------------------ |
| `{time}`    | Short date and time                  |
| `{time:f}`  | Short date and time (alt.)           |
| `{time:F}`  | Long date and time                   |
| `{time:d}`  | Short date only                      |
| `{time:D}`  | Long date only                       |
| `{time:t}`  | Short time only                      |
| `{time:T}`  | Long time only                       |
| `{time:R}`  | Relative time (e.g. "3 minutes ago") |

## Discord server

| Placeholder    | Resolves to     |
| -------------- | --------------- |
| `{guild.name}` | Server name     |
| `{guild.id}`   | Server ID       |
| `{guild.icon}` | Server icon URL |

<AccordionGroup>
  <Accordion title="Infraction embeds">
    | Placeholder                                                                                  | Resolves to                      |
    | -------------------------------------------------------------------------------------------- | -------------------------------- |
    | `{staff.mention}` / `{staff.username}` / `{staff.name}` / `{staff.id}` / `{staff.icon}`      | Infracted staff member           |
    | `{issuer.mention}` / `{issuer.username}` / `{issuer.name}` / `{issuer.id}` / `{issuer.icon}` | Person who issued the infraction |
    | `{infraction.type}`                                                                          | Type label (e.g. Warning)        |
    | `{infraction.reason}`                                                                        | Reason text                      |
  </Accordion>

  <Accordion title="Staff feedback embeds">
    | Placeholder                                                                                                 | Resolves to                   |
    | ----------------------------------------------------------------------------------------------------------- | ----------------------------- |
    | `{staff.mention}` / `{staff.username}` / `{staff.name}` / `{staff.id}` / `{staff.icon}`                     | Staff member being reviewed   |
    | `{submitter.mention}` / `{submitter.username}` / `{submitter.name}` / `{submitter.id}` / `{submitter.icon}` | Member who submitted feedback |
    | `{feedback.rating}`                                                                                         | Star rating                   |
    | `{feedback.reason}`                                                                                         | Feedback text                 |
  </Accordion>

  <Accordion title="Session announcements">
    **In-game server**

    | Placeholder                       | Resolves to               |
    | --------------------------------- | ------------------------- |
    | `{erlc.code}` / `{server.code}`   | Join code                 |
    | `{erlc.name}` / `{server.name}`   | Server name               |
    | `{erlc.owner}` / `{server.owner}` | Owner                     |
    | `{server.restrictions}`           | Verification requirements |
    | `{server.teambalance}`            | Team balance              |
    | `{server.coowners}`               | Co-owners                 |

    **Session host & Discord**

    | Placeholder                                    | Resolves to         |
    | ---------------------------------------------- | ------------------- |
    | `{host}` / `{host.username}` / `{host.id}`     | Session host        |
    | `{guild.name}` / `{guild.id}` / `{guild.icon}` | Discord server info |
  </Accordion>

  <Accordion title="ER:LC server logs">
    **Player (join / leave / command logs)**

    | Placeholder          | Resolves to            |
    | -------------------- | ---------------------- |
    | `{player.name}`      | Roblox username        |
    | `{player.id}`        | Roblox user ID         |
    | `{player.hyperlink}` | Clickable profile link |

    Kill logs add `{killer}` and `{killed}` variants. Modcall logs add `{moderator}` and `{caller}`. Command logs add `{command}`.
  </Accordion>

  <Accordion title="Verification nicknames">
    | Placeholder            | Resolves to     |
    | ---------------------- | --------------- |
    | `{roblox.username}`    | Roblox username |
    | `{roblox.displayUser}` | Display name    |
    | `{roblox.id}`          | Roblox user ID  |
  </Accordion>
</AccordionGroup>
