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

# Overview

> Every variable an embed script or message template can use.

Variables are filled in when the message is sent. They work anywhere a message or embed-script field
accepts text: welcome, goodbye, boost, level-up and vanity messages, honeypot warnings, and anything
posted through `/embedcreate`.

```text theme={null}
Welcome {user} to {server} · you're member #{guild.member_count}
```

## Rules

* **Names are flexible.** Case, dots, underscores and dashes are ignored · `{user.id}`,
  `{userid}` and `{user_id}` are the same variable.
* **No spaces inside the braces.** `{ user }` is not a variable.
* **Aliases work.** `member*` maps onto `user*`, and `server*` onto `guild*`.
* **A misspelling isn't an error.** Unknown variables are sent as raw text, exactly as typed · so
  `{user.nmae}` appears literally in the message.

## Groups

| Group | Covers | Page |
| - | - | - |
| User | Mention, identity, avatar, dates, top role | [User](https://docs.criminal.work/features/variables/user.md) |
| Server | Name, icon, banner, owner, boosts, creation | [Server](https://docs.criminal.work/features/variables/server.md) |
| Channel | Mention, name, ID, topic | [Channel](https://docs.criminal.work/features/variables/channel.md) |
| Bot | Criminal's own name, ID, avatar | [Bot](https://docs.criminal.work/features/variables/bot.md) |
| Time | Now, timestamp, date, time | [Time](https://docs.criminal.work/features/variables/time.md) |
| Level-up | `{level}` | [Level-up](https://docs.criminal.work/features/variables/levelup.md) |
| Honeypot | Action, trap channel, catch count | [Honeypot](https://docs.criminal.work/features/variables/honeypot.md) |

## Emoji

Type an emoji the way Discord shows it in the picker (`:white_star:`) and Criminal swaps in your
server's emoji of that name. If the server doesn't have one, the text is left exactly as written ·
same fallback as a misspelled variable.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.