---
title: Admin Commands
description: Configuration commands available only to authorized administrators, such as resetting or exporting statistics, and managing custom filters.
source: general/commands/admin-commands.md
section: General
order: 8
lastModified: 2026-08-25T18:47:59+03:00
rawPath: /general/commands/admin-commands.md
---

# Admin Commands

### Reset Statistics Commands

These commands allow you to permanently reset the voice and message statistics of a specific user or the entire server. Please use these commands with caution.

| Command               | Description                                         | Usage                      | Example Usage                  |
| --------------------- | --------------------------------------------------- | -------------------------- | ------------------------------ |
| `/reset user stats`   | Reset a user's voice and message statistics.        | `/reset user stats [user]` | `/reset user stats user:@sytx` |
| `/reset server stats` | Resets voice and message statistics in this server. | `/reset server stats`      | `/reset server stats`          |

### Export Command

Converts the server's voice ranking data into an Excel (.csv) file so you can download and analyze it.

| Command                    | Description                              | Usage                            | Example Usage                     |
| -------------------------- | ---------------------------------------- | -------------------------------- | --------------------------------- |
| 💎 `/export voice ranking` | Export the voice ranking as a .csv file. | `/export voice ranking [period]` | `/export voice ranking period:30` |

### Channel Filters

Used to exclude specific channels from new statistical activity. Voice time or messages recorded before a channel is filtered are not deleted.

| Command                   | Description                        | Usage                               | Example Usage                                |
| ------------------------- | ---------------------------------- | ----------------------------------- | -------------------------------------------- |
| `/filter channels add`    | Adds a channel to the filter.      | `/filter channels add [channel]`    | `/filter channels add channel:#"General"`    |
| `/filter channels remove` | Removes a channel from the filter. | `/filter channels remove [channel]` | `/filter channels remove channel:#"General"` |

### Member Filters

Prevents new voice and message activity from being recorded for selected server members. Existing statistics are not deleted.

| Command                  | Description                       | Usage                           | Example Usage                       |
| ------------------------ | --------------------------------- | ------------------------------- | ----------------------------------- |
| `/filter members add`    | Adds a member to the filter.      | `/filter members add [user]`    | `/filter members add user:@sytx`    |
| `/filter members remove` | Removes a member from the filter. | `/filter members remove [user]` | `/filter members remove user:@sytx` |

### Role Filters

Prevents new voice and message activity from being recorded for members with selected roles. Existing statistics and ranking entries are not deleted.

| Command                | Description                     | Usage                         | Example Usage                      |
| ---------------------- | ------------------------------- | ----------------------------- | ---------------------------------- |
| `/filter roles add`    | Adds a role to the filter.      | `/filter roles add [role]`    | `/filter roles add role:@Muted`    |
| `/filter roles remove` | Removes a role from the filter. | `/filter roles remove [role]` | `/filter roles remove role:@Muted` |

### Debug Command

Checks VoiceStats' effective permissions in the current channel and shows useful server, user, and Premium diagnostics. Use this command in the channel where you are experiencing a problem.

| Command  | Description                                      | Usage    | Example Usage |
| -------- | ------------------------------------------------ | -------- | ------------- |
| `/debug` | Check VoiceStats permissions and server details. | `/debug` | `/debug`      |

::callout{type="info"}
Filter operations can also be performed via the [Dashboard](https://voicestats.xyz/).
::

::callout{type="info"}
**💎 Note:** Commands with a diamond emoji next to them are exclusive to Premium servers.
::
