For the complete documentation index, see llms.txt. This page is also available as Markdown.

Creating your first counter

Build a counter channel yourself in the dashboard, from an empty channel to a live template.

Quick setup gives you a set of ready-made channels. Here you pick the channel yourself and write the template.

Before you start, invite the bot and open the dashboard. You need Administrator or Manage Server in the server.

1

Create a channel in Discord

Make a voice channel, a category, a text channel or an announcement channel. Voice channels and categories get their name rewritten, text and announcement channels their topic. The name you give it now does not matter; the bot overwrites it on the next refresh.

Discord's Create Channel dialog
Any voice, category, text or announcement channel will do
2

Open the channel in the dashboard

Select your server in the rail on the left, then click the channel you just made. If the bot is missing a permission there, the page says so. Fix it in Discord and press Check again.

The dashboard channel page with the template editor
The channel page: the enable toggle, the template editor and the save button
3

Turn on the Enable template toggle

Nothing happens until this toggle is on.

4

Write the text and add a counter

Type the fixed part of the name first, for example Members: , then press Add counter and pick the counter you want. It is inserted as a chip, and the text around it stays exactly as you typed it, emoji included.

The Add counter picker open over the template editor
Search the counter list from inside the editor
5

Configure the counter

Click the chip to open its options panel. Every counter has its own options; the Counters reference has a page for each one. Format settings, at the bottom of the panel, is the same for every counter: leave it alone and the counter follows your Server settings.

The counter options panel open beside the template editor
Each counter brings its own options

Edit display label, in the panel header, renames the chip in the editor only; the channel output does not change.

The Display label dialog beside the counter options panel
A display label only renames the chip in the editor
6

Preview, then save

Press Preview on the editor toolbar to swap the chips for the values they return right now, and Edit to go back. When it looks right, press Save. Autosave is off by default and is switched on from your account settings.

The template editor in preview mode
Preview resolves every counter to its current value

When will the channel change?

Not immediately. Counters refresh every 10 minutes on the free public bot and every 5 minutes on the legacy premium bot, a custom bot and a self-hosted bot, and the schedule does not run at the moment you save. Your channel picks up its new name on the next refresh, see How counters update.

Next: the Template editor, Nested counters and Formatting counters.

Technical details
  • isBotSupportedChannel decides which channel types can carry a template.

  • Editing a server needs Administrator or Manage Guild in that server, or a staff account with the ManageGuilds permission. Without it the page answers "You don't have permission to manage this server.\nAsk an admin at {{guildName}} to give you Administrator or Manage Guild permissions."

  • Preview runs the same evaluateTemplate on the bot as a real update, with your channel's real type, so it hits the same truncation, timeouts and errors as the bot would.

  • evaluateTemplate trims the result, then cuts a text or announcement topic at 1023 characters and any other supported channel name at 99. Each counter gets 60 seconds ("The evaluation took too long and timed out."), and the nested-counter walk aborts after 50,000 iterations. These limits live in packages/services/src/DataSource/index.ts.

  • Format settings resolve per counter first and fall back to the server's locale, compact notation and digits. Custom digits are only substituted on text and announcement channels, never in a channel name.

  • Autosave fires 10 seconds after the last edit (AUTOSAVE_DEBOUNCE_MS = 10_000) and every further edit re-arms it; clicking the button during the countdown saves at once. Leaving with unsaved changes asks for confirmation first.

  • The channel row stores template and isTemplateEnabled. The update job reads only enabled templates, so turning the toggle off leaves the last written name or topic in place instead of restoring the old one.

  • After a failed update the channel page shows the stored reason, and the channel is marked in the server nav menu.

  • Self-hosting: the website reaches the bot process over Redis pub/sub with BDE_CALL_TIMEOUT as the request timeout (2000 ms in .env.example), so Preview fails when no bot process answers in time.

Last updated