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

# Variables

> Reference list of dynamic variables for custom messages.

Flamey supports dynamic variables in **Welcome Messages**, **Custom Commands**, and **Auto Responders**. These variables are replaced with actual data when the message is sent.

<Tip>
  Click on a variable to copy it! (Coming soon)
</Tip>

## User Variables

These variables relate to the user who triggered the event (e.g., the user who joined).

<CardGroup cols={2}>
  <Card title="{user}" icon="user">
    Mentions the user (e.g., `@Flamey`).
  </Card>

  <Card title="{user.tag}" icon="tag">
    The user's username (e.g., `Flamey#1234`).
  </Card>

  <Card title="{user.id}" icon="fingerprint">
    The user's unique Discord ID.
  </Card>

  <Card title="{user.created_at}" icon="calendar">
    The date the user's account was created.
  </Card>
</CardGroup>

## Server Variables

Variables related to the server (guild) where the command is used.

<CardGroup cols={2}>
  <Card title="{server}" icon="server">
    The name of the server.
  </Card>

  <Card title="{server.id}" icon="hashtag">
    The ID of the server.
  </Card>

  <Card title="{member_count}" icon="users">
    The total number of members in the server.
  </Card>
</CardGroup>

## Other Context

<AccordionGroup>
  <Accordion title="Channel Variables" icon="message">
    * `{channel}` - Mentions the channel where the message is sent.
    * `{channel.name}` - The name of the channel.
    * `{channel.id}` - The ID of the channel.
  </Accordion>

  <Accordion title="Time Variables" icon="clock">
    * `{now}` - The current timestamp.
    * `{date}` - The current date.
  </Accordion>
</AccordionGroup>

<Info>
  Some variables might not be available in all contexts. For example, `{user}` might not work in a scheduled message if no specific user is involved.
</Info>
