Flow reference: Server Management

Channel Counter

Show a number at the end of a channel name after an arrow (legitˑcheck➔12, Użytkownicy ➔ 15), keeping the channel's own name and arrow style. Renamed at most every 5 minutes (Discord's limit); the newest number always lands.

Show a number at the end of a channel name after an arrow (legitˑcheck➔12, Użytkownicy ➔ 15), keeping the channel's own name and arrow style. Renamed at most every 5 minutes (Discord's limit); the newest number always lands.

When and how to use it

Put it after the block that knows the number: a Math block that adds 1 to a total, Count Records, Count Members or {server.memberCount}.
Give the channel ({channel.id} in a Message Received flow, or a channel ID from a bot setting) and the number.
Run it on every counted event. You never have to count "every 25": the block itself only renames when Discord allows it.

How the name is built: the end of the name is read as spaces + one arrow (➔ ➜ → ➝ ➞ ⟶ ➙ ➛ ➡) + spaces + digits. When the channel has such a counter, only the digits change and everything else stays exactly as it is (┃✅・legitˑcheck➔828 → ┃✅・legitˑcheck➔829, 📊・Użytkownicy ➔ 15 → 📊・Użytkownicy ➔ 16). A channel without one gets the chosen arrow and the number (voice channels with spaces around the arrow).

Discord allows 2 renames per channel every 10 minutes, so the block renames a channel at most every 5 minutes. A number that arrives sooner waits and is put in the name when the 5 minutes end; numbers after it only replace the waiting one, so the newest one always lands with one rename. The flow never waits for this.

Configuration fields

Channel — channel


The channel whose name shows the number: its ID (123456789012345678), a mention or a {variable} holding one. An ID works in every flow, also scheduled ones without a server.

Input: Text with variable suggestions.

Format example, not a ready value for your server: {channel.id}.

Default: {channel.id}.


Number — count


The number to show: a whole number or a {variable} holding one, for example {lcTotal} after a Math block or {server.memberCount}. Anything else takes failed.

Input: Text with variable suggestions.

Format example, not a ready value for your server: {lc.total}.

Default: ``.


Arrow for a name without a number yet — arrow


The arrow added to a channel that has no counter yet: ➔, ➜, →, ➝ or ➞; auto uses ➔. A name that already ends with an arrow and a number always keeps its own arrow and spacing.

Input: Choice.

Default: auto.


Name for a channel without a number yet — base


Optional. The text before the arrow while the channel has no counter yet, e.g. 📊・Użytkownicy for a channel still called "Użytkownicy: 15". Empty keeps the channel's current name. After the first number the channel keeps its own name; rename it by hand any time (keep the arrow and the number at the end).

Input: Text with variable suggestions.

Default: ``.

Outputs and next steps

out: The name shows the number, the rename is waiting for the 5 minutes to end, or the name already showed it. {counter.name} is the name the channel gets.
failed: The channel was not found, the number is not a whole number, or Discord refused (for example the bot lacks Manage Channels); {counter.error} says why.

Test and troubleshoot

The bot needs Manage Channels on that channel. Text channel names are stored in lower case with dashes by Discord. In the Live Preview the pretend channel is renamed at once.

Save, validate and publish. Perform one real test and read the first relevant log error. [Testing](/docs/flow-testing) · [Variables](/docs/flow-variables) · [Permissions](/docs/flow-permissions).