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

# Variables

> List of variables that can be used in several jar commands.

These variables can be used for various commands in jar, like **welcomers**, **goodbye messages**, **boost messages**, **sticky messages**, **embeds**, **jail DM & channel messages** and more.

<Tabs>
  <Tab title="User">
    | Variable                       | Description                                   | Example                                |
    | ------------------------------ | --------------------------------------------- | -------------------------------------- |
    | `{user.mention}`               | Mention the user                              | @jaradc                                |
    | `{user.name}`                  | The user's name                               | jarad                                  |
    | `{user.display_name}`          | The user's display name                       | jaradcee                               |
    | `{user.nick}`                  | The user's nickname                           | jaradcee                               |
    | `{user.tag}`                   | The user's tag/discriminator                  | 0                                      |
    | `{user.discriminator}`         | The user's discriminator                      | 0                                      |
    | `{user.id}`                    | The user's ID                                 | 282261770587078656                     |
    | `{user.avatar}`                | The user's avatar URL                         | (avatar link)                          |
    | `{user.server_avatar}`         | The user's server avatar URL                  | (server avatar link)                   |
    | `{user.display_avatar}`        | The user's display avatar URL                 | (display avatar link)                  |
    | `{user.joined_at}`             | The user's join date                          | 02/02/2022 22:22:22                    |
    | `{user.joined_at_timestamp}`   | The user's join date timestamp                | `<t:1643840542:F>`                     |
    | `{user.created_at}`            | The user's account creation date              | 17/02/2017 21:27:30                    |
    | `{user.created_at_timestamp}`  | The user's account creation timestamp         | `<t:1487366850:F>`                     |
    | `{user.boost}`                 | The user's boost status (True/False)          | True                                   |
    | `{user.boost_since}`           | The user's boost date                         | 02/02/2022 22:22:22                    |
    | `{user.boost_since_timestamp}` | The user's boost date timestamp               | `<t:1643840542:F>`                     |
    | `{user.color}`                 | The user's top role color (American spelling) | #7763fa                                |
    | `{user.colour}`                | The user's top role colour (British spelling) | #7763fa                                |
    | `{user.top_role}`              | The user's top role name                      | Owner                                  |
    | `{user.bot}`                   | Whether the user is a bot (True/False)        | False                                  |
    | `{user.badges}`                | The user's badges                             | Hypesquad Brilliance, Active Developer |
  </Tab>

  <Tab title="Server">
    | Variable                           | Description                                | Example                        |
    | ---------------------------------- | ------------------------------------------ | ------------------------------ |
    | `{server.name}`                    | The server's name                          | jarad's server                 |
    | `{server.member_count}`            | The server's member count                  | 222                            |
    | `{server.id}`                      | The server's ID                            | 1094719371351974679            |
    | `{server.owner_id}`                | The server's owner ID                      | 282261770587078656             |
    | `{server.created_at}`              | The server's creation date                 | 02/02/2022 22:22:22            |
    | `{server.created_at_timestamp}`    | The server's creation date timestamp       | `<t:1643840542:F>`             |
    | `{server.emoji_count}`             | The server's emoji count                   | 22                             |
    | `{server.role_count}`              | The server's role count                    | 222                            |
    | `{server.boost_count}`             | The server's boost count                   | 222                            |
    | `{server.boost_level}`             | The server's boost level                   | 3                              |
    | `{server.preferred_locale}`        | The server's preferred locale              | en-US                          |
    | `{server.key_features}`            | The server's key features                  | Soundboard                     |
    | `{server.icon}`                    | The server's icon URL                      | (server icon link)             |
    | `{server.banner}`                  | The server's banner URL                    | (server banner link)           |
    | `{server.splash}`                  | The server's splash URL                    | (server splash link)           |
    | `{server.discovery_splash}`        | The server's discovery splash URL          | (server discovery splash link) |
    | `{server.max_presences}`           | The server's max presences                 | 20                             |
    | `{server.max_members}`             | The server's max members                   | 500000                         |
    | `{server.max_video_channel_users}` | The server's max video channel users count | 25                             |
    | `{server.channels}`                | The server's list of channels              | general, general               |
    | `{server.channels_count}`          | The server's channel count                 | 2                              |
    | `{server.text_channels}`           | The server's list of text channels         | general                        |
    | `{server.text_channels_count}`     | The server's text channel count            | 1                              |
    | `{server.voice_channels}`          | The server's list of voice channels        | general                        |
    | `{server.voice_channels_count}`    | The server's voice channel count           | 1                              |
    | `{server.category_channels}`       | The server's list of category channels     | Text channels, Voice channels  |
    | `{server.category_channels_count}` | The server's category channel count        | 2                              |
  </Tab>

  <Tab title="Date">
    | Variable               | Description                | Example                   |
    | ---------------------- | -------------------------- | ------------------------- |
    | `{date.now}`           | The current date           | Tuesday, 02 February 2022 |
    | `{date.now_short}`     | The current short date     | 02 Feb 2022               |
    | `{date.now_shorter}`   | The current shorter date   | 02/02/2022                |
    | `{date.now_timestamp}` | The current date timestamp | `<t:1643840542:F>`        |
  </Tab>

  <Tab title="Time">
    | Variable              | Description                    | Example     |
    | --------------------- | ------------------------------ | ----------- |
    | `{time.now}`          | The current time               | 02:22:22 PM |
    | `{time.now_short}`    | The current short time         | 02:22 PM    |
    | `{time.now_24}`       | The current 24-hour time       | 14:22:22    |
    | `{time.now_24_short}` | The current short 24-hour time | 12:22       |
  </Tab>

  <Tab title="Jail/Invoke">
    You can use these variables in the **jail** and **invoke** commands.

    <AccordionGroup>
      <Accordion title="Moderator" icon="hammer" iconType="solid">
        <Info>You can type `mod` instead of `moderator`, to shorten the variable.</Info>

        | Variable                            | Description                                        | Example                                |
        | ----------------------------------- | -------------------------------------------------- | -------------------------------------- |
        | `{moderator.mention}`               | Mention the moderator                              | @jaradc                                |
        | `{moderator.name}`                  | The moderator's name                               | jarad                                  |
        | `{moderator.display_name}`          | The moderator's display name                       | jaradcee                               |
        | `{moderator.nick}`                  | The moderator's nickname                           | jaradcee                               |
        | `{moderator.tag}`                   | The moderator's tag/discriminator                  | 0                                      |
        | `{moderator.discriminator}`         | The moderator's discriminator                      | 0                                      |
        | `{moderator.id}`                    | The moderator's ID                                 | 282261770587078656                     |
        | `{moderator.avatar}`                | The moderator's avatar URL                         | (avatar link)                          |
        | `{moderator.display_avatar}`        | The moderator's display avatar URL                 | (display avatar link)                  |
        | `{moderator.color}`                 | The moderator's top role color (American spelling) | #7763fa                                |
        | `{moderator.colour}`                | The moderator's top role colour (British spelling) | #7763fa                                |
        | `{moderator.top_role}`              | The moderator's top role name                      | Owner                                  |
        | `{moderator.badges}`                | The moderator's badges                             | Hypesquad Brilliance, Active Developer |
        | `{moderator.joined_at}`             | The moderator's join date                          | 02/02/2022 22:22:22                    |
        | `{moderator.joined_at_timestamp}`   | The moderator's join date timestamp                | `<t:1643840542:F>`                     |
        | `{moderator.created_at}`            | The moderator's account creation date              | 17/02/2017 21:27:30                    |
        | `{moderator.created_at_timestamp}`  | The moderator's account creation timestamp         | `<t:1487366850:F>`                     |
        | `{moderator.boost}`                 | The moderator's boost status (True/False)          | True                                   |
        | `{moderator.boost_since}`           | The moderator's boost date                         | 02/02/2022 22:22:22                    |
        | `{moderator.boost_since_timestamp}` | The moderator's boost date timestamp               | `<t:1643840542:F>`                     |
        | `{moderator.bot}`                   | Whether the moderator is a bot (True/False)        | False                                  |
        | `{moderator.badges}`                | The moderator's badges                             | Hypesquad Brilliance, Active Developer |
      </Accordion>

      <Accordion title="Victim" icon="user" iconType="solid">
        | Variable                         | Description                                     | Example                                |
        | -------------------------------- | ----------------------------------------------- | -------------------------------------- |
        | `{victim.mention}`               | Mention the victim                              | @jaradc                                |
        | `{victim.name}`                  | The victim's name                               | jarad                                  |
        | `{victim.display_name}`          | The victim's display name                       | jaradcee                               |
        | `{victim.nick}`                  | The victim's nickname                           | jaradcee                               |
        | `{victim.tag}`                   | The victim's tag/discriminator                  | 0                                      |
        | `{victim.discriminator}`         | The victim's discriminator                      | 0                                      |
        | `{victim.id}`                    | The victim's ID                                 | 282261770587078656                     |
        | `{victim.avatar}`                | The victim's avatar URL                         | (avatar link)                          |
        | `{victim.display_avatar}`        | The victim's display avatar URL                 | (display avatar link)                  |
        | `{victim.color}`                 | The victim's top role color (American spelling) | #7763fa                                |
        | `{victim.colour}`                | The victim's top role colour (British spelling) | #7763fa                                |
        | `{victim.top_role}`              | The victim's top role name                      | Owner                                  |
        | `{victim.badges}`                | The victim's badges                             | Hypesquad Brilliance, Active Developer |
        | `{victim.joined_at}`             | The victim's join date                          | 02/02/2022 22:22:22                    |
        | `{victim.joined_at_timestamp}`   | The victim's join date timestamp                | `<t:1643840542:F>`                     |
        | `{victim.created_at}`            | The victim's account creation date              | 17/02/2017 21:27:30                    |
        | `{victim.created_at_timestamp}`  | The victim's account creation timestamp         | `<t:1487366850:F>`                     |
        | `{victim.boost}`                 | The victim's boost status (True/False)          | True                                   |
        | `{victim.boost_since}`           | The victim's boost date                         | 02/02/2022 22:22:22                    |
        | `{victim.boost_since_timestamp}` | The victim's boost date timestamp               | `<t:1643840542:F>`                     |
        | `{victim.bot}`                   | Whether the victim is a bot (True/False)        | False                                  |
        | `{victim.badges}`                | The victim's badges                             | Hypesquad Brilliance, Active Developer |
      </Accordion>

      <Accordion title="Reason" icon="circle-info" iconType="solid">
        | Variable   | Description               | Example  |
        | ---------- | ------------------------- | -------- |
        | `{reason}` | The reason for the action | Spamming |
      </Accordion>
    </AccordionGroup>
  </Tab>
</Tabs>
