# Member counter

{% hint style="danger" %}
This documentation might not be accurate as we prep for v2 of membercounters.
{% endhint %}

Display and track the member count of your group, showing who joined in real-time!

![An example in bgreenz's group Greenz Corporation](/files/FlE82sisoO9o54sz8xUh)

### Commands

<table><thead><tr><th>Argument</th><th width="347">Description</th></tr></thead><tbody><tr><td>group-id</td><td>The ID of your Roblox group.</td></tr><tr><td>gained-message</td><td>The message sent when someone joins.</td></tr><tr><td>lost-message</td><td>The message sent when someone leaves. (see message below)</td></tr><tr><td>embed-enabled</td><td>Enable (True) or Disable (False) embeds with the membercounter.</td></tr><tr><td>channel-gained</td><td>The channel to log new members into.</td></tr><tr><td>channel-lost</td><td>The channel to log old members into.</td></tr><tr><td>separator</td><td>The character you want to use to separate the numbers. (more info below)</td></tr></tbody></table>

{% tabs %}
{% tab title="Message" %}
The membercounter has a default message, however you are able to customise it to say what you'd like!

An example of this is the membercounter set up in Vibez:\
`💚`` `**`Username`**` ``has joined {name}.{newline} We've reached {membercount} members! We're {togo} away from {goal}.`\
\
In the table below, you can find variables and their descriptions which you are able to use in your membercounter message.

| Variable      | Description                                                 |
| ------------- | ----------------------------------------------------------- |
| {name}        | The name of the group.                                      |
| {change}      | The amount has the group has gained/lost.                   |
| {type}        | The group has "lost" or "gained".                           |
| {membercount} | The amount of members now.                                  |
| {togo}        | Amount until goal.                                          |
| {goal}        | Goal.                                                       |
| {username}    | \[NEW] The username of the user which joined the group.     |
| {userid}      | \[NEW] The user ID of the user which joined the group.      |
| {displayname} | \[NEW] The display name of the user which joined the group. |
| {ordinal}     | Add an ordinal to your message (st, nd, rd)                 |
| {% endtab %}  |                                                             |

{% tab title="Increment" %}
The increment is a fixed number that allows you to choose the amount of members that are needed to meet the group's next goal.&#x20;

For example: If the increment is set to 100 it will make the goal higher with 100 every time!

If your group's goal is 400, once the goal is met the goal will become 500 automatically.
{% endtab %}

{% tab title="Separator" %}
The separator is used when the group has 1000 members or more. It lets the bot know how you'd like to display the numbers! Whatever you put as the separator will be shown between the thousands and hundreds units. (1\<separator>000)\
\
The table below will show you different ways you are able to use the function:

| Variable  | Description |
| --------- | ----------- |
| {space}   | 1 000       |
| ,         | 1,000       |
| noob      | 1noob000    |
| {default} | 1000        |

If you have already set up the separator and would like to remove it, you are able to use the variable {default}.
{% endtab %}
{% endtabs %}


---

# 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.vibez.dev/commands/configuration/member-counter.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.
