> For the complete documentation index, see [llms.txt](https://docs.apollo-bot.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.apollo-bot.xyz/commands/messages.md).

# Message Counter

{% hint style="warning" %}
Inorder for message counter to work, you must enable it by using `a!messages enable`
{% endhint %}

### `a!messages`

{% tabs %}
{% tab title="Usage" %}

* `a!messages [user]` - Check your/other user's number of messages in the server.
  {% endtab %}

{% tab title="Examples" %}

<figure><img src="/files/6IaupS1JD9BE62AQ5qVY" alt=""><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}

### `a!messages-admin add`

{% tabs %}
{% tab title="Usage" %}

* `a!messages-admin add <member> <amt>` - Add a certain number of messages to an user.
  {% endtab %}

{% tab title="Examples" %}

<figure><img src="/files/NmvfN5ONrLvoAq7c3RtB" alt=""><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}

### `a!messages-admin remove`

{% tabs %}
{% tab title="Usage" %}

* `a!messages remove <member> <amt>` - Remove messages from an user.
  {% endtab %}

{% tab title="Examples" %}

<figure><img src="/files/J8KgPSw9Ou17NHJJ37ON" alt=""><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}

### `a!messages-admin enable`

{% tabs %}
{% tab title="Usage" %}

* `a!messages enable` - Enables the message counter. *(Refer to top of the page)*
  {% endtab %}

{% tab title="Examples" %}

<figure><img src="/files/pUgWsVOWDtFDudmP6GFH" alt=""><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}

### `a!messages-admin disable`

{% tabs %}
{% tab title="Usage" %}

* `a!messages disable` - Disables the message counter if it is enabled.
  {% endtab %}

{% tab title="Examples" %}

<figure><img src="/files/6jFcrBMjFavDwC3e1ldb" alt=""><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}

### `a!messages reset` & `a!messages-admin reset-all`

{% tabs %}
{% tab title="Usage" %}

* `a!messages-admin reset <user>` - Reset a member's message count to 0.
* `a!messages-admin reset-all` - Reset the entire server's message count to 0.

{% hint style="danger" %}
**WARNING - DESTRUCTIVE ACTION**

* Wrong usage of this command can cause all your message data to be reset.
* Make sure to mention the user if you are resetting messages for a single user.
* Erased data cannot be recovered, we do not store backups of deleted data.
  {% endhint %}
  {% endtab %}

{% tab title="Examples" %}

#### Reset messages for a single user:

<figure><img src="/files/WLQv3GpxsWFH8box8bwJ" alt=""><figcaption></figcaption></figure>

#### Reset messages for the entire server:

<figure><img src="/files/mHh653NiDRlgwxPIihJ8" alt=""><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}

### `a!messages-admin settings`

{% tabs %}
{% tab title="Usage" %}

* `a!messages settings` - Configure the message settings for the entire server.
  {% endtab %}

{% tab title="Examples" %}

<figure><img src="/files/SOZGfJ2GPHF0QK9jQasY" alt=""><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}

### `a!leaderboard`

{% tabs %}
{% tab title="Usage" %}

* `a!leaderboard` - View the current message leaderboard for the server.
  {% endtab %}

{% tab title="Examples" %}

<figure><img src="/files/pEwMG8t5P9bemOm0u0ZG" alt=""><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}

{% hint style="info" %}
**Syntax usage:**

`<>` = Required argument (mandatory and must be included)

`[]` = Optional argument (not necessary to be included)
{% endhint %}
