# General

## Invites

| Command                                        | Description                                             |
| ---------------------------------------------- | ------------------------------------------------------- |
| `/invites [@member]`                           | Displays the number of invites a user has on the server |
| :star2: `/inviter [@member]`                   | Check who invited a specific member                     |
| `/invitecodes [@member] [page]`                | Displays all invite codes for you or another user       |
| :star2: `/invitedby [@member]`                 | Displays a list of users someone has invited            |
| :star2: `/invitedwith [@member]`               | See which invite code was used to invite someone        |
| `/search <min> <max> [type]`                   | Show all users with invites between min and max         |
| `/trace <@member> [only_fakes] [only_members]` | Trace the full invite tree of a member                  |
| `/syncinvites [@member]`                       | Synchronize current invites with the bot                |
| `/deleteinvite <invite_code>`                  | Delete a specific invite by its code                    |
| `/export csv`                                  | Export all invite data to a CSV file                    |

{% hint style="info" %}
`/trace` has a 1 use per day cooldown on free servers. Premium servers have unlimited use.
{% endhint %}

## Information

| Command               | Description                                       |
| --------------------- | ------------------------------------------------- |
| `/help [command]`     | Get the list of available commands                |
| `/ping`               | Show ping and latency information                 |
| `/botinfo`            | Display information about InviteCount             |
| `/userinfo [@member]` | View detailed information about a user            |
| `/serverinfo`         | View basic information about the server           |
| `/roleinfo <@role>`   | View information about a specific role            |
| `/permscheck`         | Check if InviteCount has all required permissions |

## Graphs

| Command                | Description                                           |
| ---------------------- | ----------------------------------------------------- |
| `/graph joins [days]`  | Show joins history in chart format (default: 7 days)  |
| `/graph leaves [days]` | Show leaves history in chart format (default: 7 days) |

{% hint style="info" %}
Free servers can view up to **7 days** of history. Premium unlocks up to **90 days**.
{% endhint %}

## Leaderboards

| Command                                                            | Description                                                        |
| ------------------------------------------------------------------ | ------------------------------------------------------------------ |
| `/leaderboard invites [page]`                                      | List top inviters ordered by total invites                         |
| `/leaderboard bonus [page]`                                        | List top inviters ordered by bonus invites                         |
| `/leaderboard fakes [page]`                                        | List top inviters ordered by fake invites                          |
| `/leaderboard left [page]`                                         | List top inviters ordered by left invites                          |
| `/leaderboard regular [page]`                                      | List top inviters ordered by regular invites                       |
| `/leaderboard messages [page]`                                     | List top members ordered by message count                          |
| :star2: `/leaderboard pin create [#channel] [title] [description]` | Create an auto-updating pinned leaderboard (refreshes every 15min) |
| :star2: `/leaderboard pin update [title] [description]`            | Update an existing pinned leaderboard's settings                   |

## Links & Utilities

| Command          | Description                               |
| ---------------- | ----------------------------------------- |
| `/support`       | Get the invite link to the support server |
| `/getbot`        | Get the bot invite link                   |
| `/vote`          | Get voting links for top.gg               |
| `/dashboard`     | Get the link to the web dashboard         |
| `/documentation` | Get the link to this documentation        |
| `/variables`     | Get the link to the variables reference   |
| `/getpremium`    | Get the link to InviteCount Premium       |

## Context Menu Commands

Right-click a user → **Apps** to access these shortcuts:

| Name       | Description                   |
| ---------- | ----------------------------- |
| `Userinfo` | View the user's information   |
| `Invites`  | View the user's invite count  |
| `Level`    | View the user's level         |
| `Messages` | View the user's message count |


---

# 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.invite-count.xyz/commands/general.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.
