How to make a counting channel in Discord

A counting channel is a simple game: members take turns posting the next number, and the bot checks each one. A right number gets a reaction and moves the count on. A wrong one ends the run. The counting template has the game drawn. It reads every message in the channel, so it runs on Buildcord Boost, the $8-a-month plan.

5 stepsNo codeUses the Counting templateUpdated

Steps

  1. Make the counting channel

    Create a channel named counting. Slowmode of a second or two keeps fast typers from tripping over each other.

  2. Turn on the Message Content intent

    On your application's Bot page in the Discord Developer Portal, turn on Message Content Intent so the bot can read the numbers.

  3. Start from the counting template

    Open the counting template in Buildcord. It makes a bot with a Message sent flow that checks each number against the count it keeps.

  4. Set the rules

    Open the flow to change what happens on a wrong number, the reaction for a right one, or the message when the count is broken.

  5. Deploy and count

    Paste your token, deploy and post 1 in the channel. The bot reacts, and the next member posts 2.

Good to know

  • The count is stored with the bot, so it carries on after a deploy or a restart.
  • Keep a high score by saving the count to a second variable whenever it beats the record.
  • A Channel check at the start keeps the game to the counting channel.

Questions

Why does a counting bot need a paid plan?

It has to see every message in the channel as it's sent, which needs the bot connected to Discord all the time, on a machine of its own. That's what Buildcord Boost pays for.

Can I set the count to a number by hand?

Yes. Change the stored count on the bot's Data page, or add a moderator command that sets it.

More guides

Draw the first flow.

A command, a reply and a deploy is a working bot. It takes a few minutes.

Start buildingOpen dashboard