# Specific features

### Export command

The export command exports the leaderboard as a large and complete json file. You can find an example [here](https://haste.chaun14.fr/naladoxoji.json). Useful when you have to give automatically a reward based on invites outside your server.

```json
[
    {
        "id": "DISCORD USERID",
        "tag": "USERNAME#0000",
        "username":"USERNAME",
        "discriminator": "0000",
        "rank": USERRANK (INT),
        "maxRank": TOTAL LEADERBOARD RANK (INT),
        "valid": AMOUNT OF VALID INVITES (INT),
        "bonuses": AMOUNT OF BONUSES INVITES (INT),
        "fake": AMOUNT OF INVALIDATED INVITES (INT),
        "leave": AMOUNT OF INVITED WITH LEFT MEMBER (INT),
        "total": valid + bonuses + fake + leave (INT)
    }
]

```

![](/files/LunObS2vvQG091hOxj9K)

### Ranks system

With a private bot instance, the role reward feature is enabled, to use with caution.

{% hint style="warning" %}
This system has been removed from the main bot due to some abuses against discord [TOS](https://discord.com/tos) and [guidelines](https://discord.com/guidelines). You MUST respect them to avoid your bot/server/account getting banned.
{% endhint %}

{% tabs %}
{% tab title="/ranks" %}
![](/files/nXkExuO8UJc04E4bdM9M)
{% endtab %}

{% tab title="/addrank" %}
![](/files/6zGZlEqIHWFCtPcFJ6F4)

Once a rank is added you have to refresh current members roles using `/refreshranks all` command
{% endtab %}

{% tab title="/rankConfig" %}
![](/files/49AAyIiGH2leZOxlQCGw)
{% endtab %}
{% endtabs %}


---

# 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://docs.invitelogger.me/pbi/features/specific-features.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.
