A live number in a channel name — members, who is online, or a platform following.
How it works
Make a voice channel (or a category) called whatever you like, point a counter at it, and the bot renames it every ten minutes with the current number.
A counter is a label rather than a room, so it offers to stop anybody using the channel —
on by default, and what it does is take Connect away from @everyone. Everybody can still
see it; nobody can join it. Switch it off if you would rather people could.
A category cannot be locked. Its permissions are inherited by every channel inside it, so locking one would shut that whole part of the server. Put the counter on a voice channel if you want it closed off.
Why not a text channel: Discord lowercases a text channel's name and turns its spaces into
hyphens, so Members: 1,234 would arrive as members-1234. Voice channels, stages and
categories keep what they are given, so those are the only ones offered.
Ten minutes, and why it is not faster
Discord allows two channel renames per ten minutes, per channel. That is their limit, not a setting here, and going past it does not fail — it queues, so a bot that asked more often would make the name arrive later rather than sooner.
So a counter updates every ten minutes, and nine of those minutes look like nothing happening. That is the feature working.
The budget is remembered properly rather than kept in memory, which matters more than it sounds: the fleet restarts whenever it updates, and a counter that forgot when it last renamed would hand itself a fresh budget every time — spending it, falling behind, and looking broken in exactly the servers that update most often.
What you can count
- Members — everybody in the server. Free and instant: Discord tells the bot this when it connects, so nothing is asked of anybody.
- Members online — roughly how many are online now. Approximate is Discord's own word for it, not a hedge here. It deliberately does not use the privileged presence intent, which would mean receiving every status change of every member of every server to put one number in a channel name.
- Twitch followers — of a Twitch account you have already added as a feed.
- YouTube subscribers — of a YouTube channel you have already added as a feed.
The two platform counters point at a feed you already set up rather than asking for the handle again, so an account is resolved once and there is only one place it can be wrong.
YouTube rounds its own numbers
Above a thousand, YouTube publishes subscriber counts to three significant figures: a channel on 21,374,112 is reported to everybody as 21,300,000. That is what YouTube gives out, not a rounding here — your own creator dashboard will show the exact figure and this cannot.
A channel can also hide its subscriber count. When one does there is no number to show, and the counter says so rather than displaying a nought.
Naming it
Choosing a channel names the counter for you: pick General and the name becomes
General: {count}, which reads as General: 1,234. Picking the channel has already said what
the counter is about, so there is nothing to type twice — make a channel called Members and
the counter reads Members: 1,234.
Change it to whatever you like. A name you write is kept even if you move the counter to another channel; one you left as the default follows the channel.
The name is a template with {count} where the number goes:
| Template | Reads as |
|---|---|
Members: {count} |
Members: 1,234 |
{count} online |
57 online |
〔{count}〕Followers |
〔9,443,607〕Followers |
The number is written with thousand separators. A template without {count} is refused — it
would be a channel renamed every ten minutes to exactly the same thing.
What it needs
Manage Channels, to rename the channel. Without it every counter sits at whatever it last said, which is the failure worth knowing about because a stale number looks like a working one. The page tells you when a counter could not update, and why.
Turning it off puts everything back
Each counter remembers what its channel was called before it took over and what its permissions were, so switching the module off — or removing a counter, or moving it to another channel — puts both back. A channel that had no permissions of its own gets none back, rather than being left with an empty entry cluttering its settings.
That is deliberate rather than tidy. A counter that merely stopped would leave the channel
reading Members: 1,234 for ever, so a server that switched this off in March would spend the
rest of the year advertising the number of members it had in March. A wrong number is worse
than no number, because it looks like one that works.
What is kept
The channel's previous name, which number was last shown, and when it was last renamed. All three exist so the counter can be put back and the rename budget respected. Nothing about the people being counted is stored — a count of members is a number, never a list — and it is all deleted with the server.
