# Ranks and levels

The ranking system is global. That means a user will have the same level everywhere on Discord (not in a DM channel tho)

## Leveling up

### Getting started

Send messages. Talk with people.

### Tips

You gain XP for only 1 message per minute. We avoid flood this way.

If you don't want Bolt to announce level up messages, go to the "[Setup Bolt](https://boltcord.gitbook.io/bolt/setup-bolt#rank-announcement)" page.

{% content-ref url="../../setup-bolt" %}
[setup-bolt](https://boltcord.gitbook.io/bolt/setup-bolt)
{% endcontent-ref %}

{% hint style="danger" %}
Do never attempt to farm Bolt XP. If we notice you're doing that, we may block you from earning more XP or from using the bot entirely.
{% endhint %}

{% hint style="info" %}
The levels are based on this formula:

```
random > 10 * (level ^ 2) + 100 * level + 100
```

`random` is a number randomly choosen between 1 and 15.
{% endhint %}

## Commands

{% tabs %}
{% tab title="Checking levels" %}
To check your level, use

```
rank
```

To check someone else's rank, use

```
rank [@member]
```

![This is a rank card example.](https://882532783-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M8GMHH6pVeTFfxrvxC8%2F-M94llw3oS2vWVEn0_3-%2F-M98r0eczFVR3ARSuTQF%2Frank.card.jpg?alt=media\&token=3852abdf-7770-40f9-bf7c-9f97b3d99489)

{% hint style="info" %}

### Rank cards!

Want to see a rank card like above when using the command? Give Bolt **Send Files** permissions. If you don't want cards but just old-school embeds, disable the permission. If you want just text, don't give Bolt **Send Files** and **Embed Links** (note that disabling Embed Link permission may result in Bolt not replying to all of its commands).
{% endhint %}
{% endtab %}

{% tab title="Leaderboard" %}
Use this command to show the leaderboard.

```
levels
```

{% endtab %}
{% endtabs %}

The rank is also shown in this command.

```
profile (@member)
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://boltcord.gitbook.io/bolt/commands/commands-index/ranks-and-levels.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
