Members
Count members, you can also filter them by their online status, specific roles and more.
This counter shows how many members your server has. You can filter which members are counted.
Availability: every bot can count all members, Online + Idle + DND, Online, Offline and banned members. The Idle and Do not disturb statuses and the account type, role, game and voice channel filters need the privileged intents, so they only work on a custom bot or a self-hosted bot. The legacy premium bot has no privileged intents and behaves like the public bot here. If you self-host, keep the configuration defaults and turn the intents on in the Developer Portal.

Options
A member is counted only when it matches every filter you set. Leave a filter empty to skip it.
Count only banned members
Returns the number of banned users instead of members.
Off by default. It overrides the other options, and the dashboard hides them while it is checked. The bot needs the Ban Members permission.
Filter by status
Counts only members whose presence matches the status you pick.
Any (default), Online + Idle + DND, Online, Idle, Do not disturb, Offline.
Filter by account type
Counts only real users, only bots, or both.
Any (default), User, Bot.
Filter by role
Counts only members that have the roles you add.
Filter mode
Decides how several selected roles are combined.
It sits in the Filter by role section. Any match (default) counts a member that has at least one of the roles, Overlap counts it only when it has every selected role.
Filter by playing a game
Counts only members running an activity whose name contains the text you type.
Matching ignores case and looks at any activity, so mine also matches Minecraft, and a Spotify session or a custom status can match too.
Filter by connected to a voice channel
Counts only members connected to one of the channels you add.
The picker lists voice and stage channels only.
Role, game and voice channel entries can be nested counters. The gear button of the entry says what the nested counter has to return, for example a valid role ID.
What it returns
A number. With Count only banned members checked it is the number of bans in the server, otherwise the number of members left after your filters.
The public bot and the legacy premium bot only get Discord's approximate counts, so Online and Online + Idle + DND return the same value there, and Offline returns the member count minus that value. Discord's number already includes idle and Do Not Disturb members.
Formatting
Custom digits only reach text and announcement channel topics; voice and category channel names always show plain digits. See Format settings.
Refresh and caching
Channels are re-rendered every 10 minutes on the public bot and every 5 minutes on the other bots. On those two bots the approximate counts are refreshed every 20 minutes on top of that, so the number can be up to half an hour behind. The ban list is fetched once per server and kept up to date by Discord's ban events from then on, so new bans and unbans show up on the next update. See How counters update.
Examples
The channel /setup server creates is Online: {counter} with Filter by status set to Online.
Filter by role = your Staff role, Filter mode = Any match. To count people who hold two roles at once, add both roles and switch to Overlap.

Filter by playing a game = Minecraft. Add more entries to count several games in one number.

Check Count only banned members.

Errors
The channel shows ERROR! and the channel page names the reason.
The bot is not a premium version and lacks certain features needed for this counter.
You used a filter the public bot cannot do. Move the counter to a custom bot or a self-hosted bot, or switch to Any, Online + Idle + DND, Online or Offline.
The bot does not have enough privileged intents to use this counter.
On the legacy premium bot this is expected: it has no privileged intents, so use a custom bot or self-host. On a self-hosted bot, restore the configuration defaults and restart the bot.
The member counts are not available at this moment.
Discord did not send the approximate counts this time. It usually fixes itself on the next update.
The result for the channel name is less than 2 characters long.
The finished voice or category channel name is a single character, for example a lone 0. Add some text around the counter.
Last updated