> ## 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.

# User

> The member a message is about · identity, avatar, dates and roles.

| Variable | Output |
| - | - |
| `{user}` | Mention of the user (same as `{user.mention}`) |
| `{user.mention}` | Mention of the user |
| `{user.id}` | The user's ID |
| `{user.name}` | Account username |
| `{user.display}` | Display name in this server |
| `{user.avatar}` | URL of the avatar |
| `{user.banner}` | URL of the profile banner · empty if none |
| `{user.created}` | Account creation date |
| `{user.created.relative}` | Account age, e.g. "2 years ago" |
| `{user.joined}` | Date the user joined the server |
| `{user.joined.relative}` | How long ago they joined |
| `{user.join_position}` | How many members joined before them |
| `{user.join_position.ordinal}` | The same number with its suffix · "the 1,234th member" |
| `{user.top_role}` | Mention of their highest role |
| `{user.color}` | Hex colour of their top role |

`member*` is an alias for `user*` · `{member.display}` resolves the same as `{user.display}`.

**Welcome messages have no history**

In a welcome message the user is the member who just joined, so join-based values are always
current. In a goodbye message they've already left, which is why a mention renders as their old
name instead of a ping.


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