> For the complete documentation index, see [llms.txt](https://autotask.gitbook.io/autotask/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://autotask.gitbook.io/autotask/slash-commands/counters.md).

# Counters

Create counters to know how many users/channels/roles and more are on your servers!

Counters are a way to let your members know how many bots/channels/roles (or more) are on your server. This is faster than count manually :)

<figure><img src="https://289381920-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjiwciuVNSn2MRHfC4lPp%2Fuploads%2FrOi8ljvPCaa2ULi07iYn%2FCapture%20d%E2%80%99e%CC%81cran%202022-11-01%20a%CC%80%2021.41.09.png?alt=media&amp;token=75825f7b-8580-4993-a946-adc5991b03a9" alt=""><figcaption></figcaption></figure>

## Get all counters

To get all the counters on your server, you can use the <mark style="color:blue;">/counter get</mark> command. This gives you a result like this (but with your counters):

<figure><img src="https://289381920-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjiwciuVNSn2MRHfC4lPp%2Fuploads%2FVImgs1D9vdqAH7HxBdLg%2FCapture%20d%E2%80%99e%CC%81cran%202022-11-01%20a%CC%80%2021.56.24.png?alt=media&amp;token=724783a1-69bf-40bb-89c8-2f3c5db8376e" alt=""><figcaption></figcaption></figure>

## Create a counter

{% hint style="warning" %}
You have a limit of 5 counters with the free plan. (Enough to have a counter for each category)
{% endhint %}

To create a counter, you need 3 variables.\
First, the channel. The channel is an existing channel that will be the counter and it's updated every 10 minute (to avoid ratelimit).\
\
Then, the format. The format is what is the name of the channel. For example if you want "XX members !!" the format will be "{count} members !!". {count} is a variable that is replaced by the real count.\
\
The last argument is the type. Here is all the types:\
**Member count**: It will count the number of bots AND users.\
**User count**: Only the humans.\
**Bot count**: Only the bots.\
**Channel count**: The number of channels (voice channels, text, forums, categories).\
**Role count**: The number of roles.\
\
Now, you know every variable. Replace the *italic* parameters with the variables and done!\ <mark style="color:blue;">/counter create</mark> <mark style="color:blue;"></mark>*<mark style="color:blue;">channel</mark>* *<mark style="color:blue;">format</mark>* *<mark style="color:blue;">count</mark>*

## Delete a counter

To delete a counter, you have two methods.\
First, (the not very good one): delete the counter channel.\
Second (better way!!): Use the delete command.\
\
To remove a counter, use this command: <mark style="color:blue;">/counter remove</mark> where *<mark style="color:blue;">channel</mark>* is the counter channel. Then, you can delete the counter channel if you want.
