A Discord counting bot

In #counting, members take turns posting the next number. The bot ticks each right one and gives a 💯 every hundred. A wrong number, or the same person twice in a row, ends the run and starts it again from 1. /counting stats shows the next number, the high score and the top five counters.

Add to my serverUpdated

What it does

  1. A member posts a number in #counting. Anything that isn't a number is ignored, so people can still chat.
  2. If it's the next number and they didn't count last, the bot reacts with ✅, or 💯 on every hundredth.
  3. Otherwise it reacts with ❌, says who ended the run and at what number, and starts again from 1.
  4. The high score and each member's counts are kept as it goes.

The bot has to see each message in the counting channel, which means reacting to server events, on the Paid plan.

Commands

  • /counting stats

    Shows the next number, the high score and the top five counters.

  • /counting reset

    Starts the count again from 1. Needs the Manage Server permission.

Before you add it

  • A channel named counting.
  • The Message Content intent turned on for your application in the Discord Developer Portal, so the bot can read the numbers.

How adding it works

Press Add to my server and Buildcord asks you to sign up or sign in. It then makes a new bot from this template, with every flow already drawn. Paste your Discord bot token, add the bot to your server with the invite link and deploy. Nothing is final: the template is an ordinary bot you can open and change.

What you can change

  • Let people count twice in a row by deleting the check for who counted last.
  • Give a role to whoever counts past the high score.
  • Delete wrong numbers instead of starting again.

Questions

What if two people post at the same moment?

One run at a time checks a number, so the second post is checked against the first, and the count can't skip or count one twice.

Is there one count per server?

Yes. The count, the high score and who counted last are kept for each server on its own.

Step-by-step guide

More templates

Draw the first flow.

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

Start buildingOpen dashboard