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

# Server insight

> Activity graphs, growth trends, invite tracking and reaction leaderboards.

## Activity

```javascript theme={null}
!activity
```

Messages, reactions, voice time and top members over a period. Aliases: `act`, `stats`, `ac`, `ov`.

<CodeGroup>
  ```javascript Over a period theme={null}
  !activity 30d
  ```

  ```javascript Growth trends theme={null}
  !activity growth
  ```

  ```javascript Voice activity theme={null}
  !activity voice
  ```

  ```javascript Leaderboards theme={null}
  !activity leaderboard messages
  !activity leaderboard reactions
  !activity leaderboard voice
  ```
</CodeGroup>

`activity growth` (aliases `trends`, `trend`) charts joins, leaves and net change over time — the honest picture of whether a server is actually growing. `activity leaderboard` ranks members by whichever metric you pick.

<Tip>
  Run `!activity growth 90d` monthly. Raw member count only ever goes up if you don't look at leaves; net change tells you what's really happening.
</Tip>

## Invite tracking

Who invited whom, and how many invites each member has brought in.

<CodeGroup>
  ```javascript Your invites theme={null}
  !invites
  ```

  ```javascript Someone else's theme={null}
  !invites @someone
  ```

  ```javascript The leaderboard theme={null}
  !invites leaderboard
  ```

  ```javascript Who invited a member theme={null}
  !invites check @someone
  ```

  ```javascript Who a member invited theme={null}
  !invites history @someone
  ```

  ```javascript Their invite codes theme={null}
  !invites list @someone
  ```
</CodeGroup>

Aliases: `invite`, `inv`, `invs`. Most take an optional period — `!invites leaderboard 30d`.

### Managing counts

<CodeGroup>
  ```javascript Bonus invites theme={null}
  !invites add @someone 5
  ```

  ```javascript Take them away theme={null}
  !invites remove @someone 5
  ```

  ```javascript Reset a member theme={null}
  !invites reset @someone
  ```

  ```javascript Reset everyone theme={null}
  !invites reset
  ```

  ```javascript Re-read Discord's counts theme={null}
  !invites sync
  ```
</CodeGroup>

Requires **Manage Server**. `invites sync` (alias `refresh`) re-reads use counts from Discord — run it if numbers look wrong after an outage.

<Note>
  Invite counts pair naturally with [giveaway requirements](/setup/giveaways#entry-requirements): `!giveaway minimum invites 5` gates entry on actually bringing people in.
</Note>

## Message counts

```javascript theme={null}
!messages
!messages @someone
```

Aliases: `msgs`, `totalmsgs`. For rankings, `!activity leaderboard messages`.

## Reaction tracking

Counts how many of a tracked reaction someone has received — the server-in-joke leaderboard.

<CodeGroup>
  ```javascript Your count theme={null}
  !reactiontracker
  ```

  ```javascript Someone else's theme={null}
  !reactiontracker @someone
  ```

  ```javascript Leaderboard theme={null}
  !reactiontracker leaderboard
  ```

  ```javascript Backfill from history theme={null}
  !reactiontracker backfill #general
  ```
</CodeGroup>

Aliases include `skulls`, `sobs`, `skull`, `aired`, `cornball` — the same command under whichever name your server uses.

## Voice activity

```javascript theme={null}
!voicemaster statistics
!voicemaster statistics leaderboard
```

See [VoiceMaster](/setup/voicemaster#statistics). `!activity voice` gives the same data as part of the broader picture.

## Moderation statistics

<CodeGroup>
  ```javascript Against a member theme={null}
  !history statistics @someone
  ```

  ```javascript By a moderator theme={null}
  !history moderator statistics @jake
  ```
</CodeGroup>

Requires **Manage Messages**. See [Cases & history](/moderation/cases).

## Name and avatar history

Tracked passively for every user mira can see:

```javascript theme={null}
!namehistory @someone
!avatarhistory @someone
```

Anyone can clear their **own** record with `!namehistory clear` or `!avatarhistory clear`.

## Command reference

| Command                                    | Aliases                | Permission    | Description              |
| ------------------------------------------ | ---------------------- | ------------- | ------------------------ |
| `activity [duration]`                      | `act`, `stats`, `ov`   | —             | Server activity          |
| `activity growth [duration]`               | `trends`, `trend`      | —             | Growth over time         |
| `activity voice [duration]`                | `vc`, `vctime`         | —             | Voice activity           |
| `activity leaderboard [metric] [duration]` | `lb`, `top`            | —             | Ranked members           |
| `invites [member] [period]`                | `invite`, `inv`        | —             | Invite counts            |
| `invites leaderboard [period]`             | `top`, `lb`, `rank`    | —             | Top inviters             |
| `invites check <member>`                   | `lookup`, `whoinvited` | Manage Server | Who invited them         |
| `invites history [member]`                 | `who`, `invited`       | —             | Who they invited         |
| `invites list [member]`                    | `codes`, `links`       | —             | Their invite codes       |
| `invites add <member> [amount]`            | `give`, `bonus`        | Manage Server | Bonus invites            |
| `invites remove <member> [amount]`         | `take`, `deduct`       | Manage Server | Deduct invites           |
| `invites reset [member]`                   | `clear`, `wipe`        | Manage Server | Reset counts             |
| `invites sync`                             | `refresh`              | Manage Server | Re-read Discord's counts |
| `messages [member]`                        | `msgs`                 | —             | Message count            |
| `reactiontracker [member]`                 | `skulls`, `sobs`       | —             | Tracked reaction count   |
| `reactiontracker leaderboard [category]`   | `lb`, `top`            | —             | Reaction leaderboard     |
| `reactiontracker backfill [channel]`       | —                      | —             | Backfill from history    |
| `namehistory [user]`                       | `names`, `nh`          | —             | Name history             |
| `avatarhistory [user]`                     | `avs`, `avh`, `ah`     | —             | Avatar history           |
