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

# Variable Examples

> Real-world examples of how to use Flare variables effectively.

## Welcome Message Examples

```bash theme={null}
# Simple welcome
/welcome message Welcome {user}! You are member #{server_membercount}.

# Welcome with saved embed
/welcome message Hey {user_name}, welcome to {server_name}! {embed: welcome_card}

# Leave message
/leave message {user_name} left us. We now have {server_membercount} members.

# Boost message
/boost message Thank you {user} for boosting {server_name}! 🎉 We now have {server_boostcount} boosts!
```

## Embed Variable Usage

When designing a saved embed via `/embed create`, you can use variables in any text field:

| Embed Field       | Variable Example               | Result                  |
| ----------------- | ------------------------------ | ----------------------- |
| **Title**         | `Welcome, {user_name}!`        | `Welcome, Flame!`       |
| **Thumbnail URL** | `{user_avatar}`                | Shows the user's avatar |
| **Author Icon**   | `{server_icon}`                | Shows the server icon   |
| **Footer**        | `Member #{server_membercount}` | `Member #15,432`        |

<Tip>
  Use `{user_avatar}` in the **Thumbnail URL** field to display the joining user's profile picture in the welcome embed corner.
</Tip>
