> For the complete documentation index, see [llms.txt](https://docs.badger.store/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.badger.store/fivem-discord-scripts/badger_discord_api/getguildonlinememcount.md).

# GetGuildOnlineMemberCount

## GetGuildOnlineMemberCount

<mark style="color:blue;">`GET`</mark> `exports.Badger_Discord_API:GetGuildOnlineMemberCount()`

This export allows you to get the count of online members on the server the script is connected to.

{% tabs %}
{% tab title="200 Returns online member count of server if found:" %}

```
50
```

{% endtab %}

{% tab title="404 Returns nil if not found:" %}

```
nil
```

{% endtab %}
{% endtabs %}
