Counting
Setup a counting mini-game and count with your server.
Counting gives your server a channel where members count up together, one number each. The bot reacts to every right number, and a wrong number ends the run, goes back to a checkpoint or uses a save. Counting is free for every bot.

What your members will see
Before you start
You need:
- Your bot in your Discord server. See Invite Your Bot if it isn't yet.
- A channel for counting, like
#counting. - In that channel, your bot needs View Channel, Send Messages, Add Reactions and Manage Messages.
Set up your counting channel
- 1
Turn on Counting
Open Counting in your bot's dashboard and press Enable at the top right.

- A Enable turns Counting on for your bot.
- B The server you're setting up, if your bot is in more than one. Pick a server to give it its own channel and rules.
- C Reset to Default puts every setting back to how a new Counting starts. Your counting channels stay.
- 2
Pick your counting channel
On the Channels and rules tab, pick the channel people count in. Pick the server first, then the channel.

- A Your counting channels. Add one in each server you want a counting game in. Each channel has its own game.
- 3
Save
A bar pops up at the bottom of the page. Press Save Changes.

- A Save Changes sends your settings to your bot.
- 4
Start counting
Type 1 in your counting channel. The strip under the header shows Ready to count once everything is set up.

- A What to do next. Once it says Ready to count, you're done.
- B The steps, ticked off as you do them.
The tabs
Everything else is on four tabs. The preview on the right shows what happens in Discord for the tab you're on.

- A Channels and rules: where people count and what counts.
- B Mistakes: what happens when someone gets it wrong, and saves.
- C Milestones: new records and round numbers.
- D Look: reactions and every message the bot sends.
What counts

- A Start counting from: the first number, and the one the count goes back to after a mistake.
- B A count is: The number on its own, or The number, then anything, so
42 nearly therecounts as 42. - C Let people count with maths:
6*7counts as 42. Only numbers and+ - * / ^ ( )are worked out. - D Wait between counts: in seconds, 0 for no wait. A number that comes too soon is deleted with a short note. It isn't a mistake, so the count doesn't end.
- E Let someone count twice in a row: when it's off, members take turns. Whoever counted last has to wait for someone else, and any number they type is deleted with a short note, without ending the count.
- F Let people talk in the channel: when it's off, messages that aren't a number are deleted. When it's on, they stay, and only numbers count.
1,000 counts as 1000, so members can write big numbers with commas.
Mistakes

- A What happens when someone types the wrong number:
- Start again: the count goes back to the first number.
- Back to a checkpoint: the count goes back to the last round number it reached, so a long run isn't lost.
- Keep going: the wrong number is deleted and the count carries on.
- B A checkpoint every: with a checkpoint every 100, a mistake at 1,288 goes back to 1,200, so the next number is 1,201. Saves and milestones up to 1,288 aren't earned a second time.
- C Give whoever ruined it a role: leave it empty for no role. The bot can only give roles below its own.
- D Take the role away after: in minutes.
- E Use saves: the server earns a save every few counts, up to the most you allow. A mistake uses one up instead of ending the run.
If two people type the same number at the same moment, the second one is quietly deleted. It isn't a mistake.
Milestones and records

- A Celebrate a new record: a message once a run, when the count passes the channel's best. It isn't sent in a channel's very first run.
- B Every: how often a milestone comes, like every 100 numbers.
- C Give whoever reaches it a role: leave it empty for no role.
- D Send a message: turn it off to only give the role.
Look
Reactions and posting as the member

- A Post counts as the member: each right count is posted again with the member's name and picture, and theirs is deleted, so nobody can edit a count afterwards. The bot also needs Manage Webhooks in the channel.
- B The reactions on a right number.
- C The reactions on a wrong number, and when someone counts twice.
- D The reactions when a save keeps the count going.
Press Add to add more. Each list takes up to 20.
The bot's messages
Each message the bot sends has its own card. Change the words, press Edit message for embeds, or switch the message off.

- A The switch for this message. When it's on, the bot sends it.
- B The message. The variables it can use are listed under it.
- C Edit message opens the full message builder.
- D A message that's switched off. The card says what still happens without it.
The messages, and the variables each one can use:
| Message | When it's sent | Variables |
|---|---|---|
| When the count is ruined | A reply to whoever typed the wrong number | {user}, {count_shown} the number it got to, {count_restart} the next number now, {count_record} the channel's best |
| When someone counts twice in a row | A short reply that deletes itself after a few seconds | {user} |
| When someone counts too soon | A short reply that deletes itself, with their message | {user} |
| When a save is used | A reply to whoever got it wrong | {user}, {count_next} the number it's still on, {count_saves} the saves left |
| When a save is earned | In the channel, each time the count earns one | {user}, {count_saves} |
| When the last count is deleted | When someone deletes the last right number | {count_next} |
| New record (Milestones tab) | Once a run, when the count passes the best | {user}, {count_record} the old best |
| Milestone (Milestones tab) | When the count reaches a milestone | {user}, {count_shown} the number |
Commands

- A
/countfor everyone:/count next: the next number, the record and the saves./count top: the members with the most right counts./count me: your right counts, mistakes and place.
- B
/count-stafffor staff with Manage Server:/count-staff set: set the next number to count in this channel./count-staff reset: start the count in this channel again.
- C Settings opens the command, where you can change it or switch it off.
The commands only work in a counting channel. Anywhere else they say so.
Events
Counting is made of normal builder blocks. Open an event to see how it works, or add your own blocks.

- A message is sent checks every message in a counting channel.
- A count is deleted posts the next number when the last right number is deleted, so nobody loses track.
- A Open in builder opens the event in the Command Builder.
- B The switch turns the event on or off.
The settings on this page are read by the events' blocks, so changing a setting never changes the events. If you change an event and want the original back, use its reset on the Counting page.
Good to know
- Counting is free for every bot.
- Each counting channel has its own game, and each server can have its own channels and rules from the server menu at the top of the page.
- Show variable names at the top of the page shows the variable behind each setting, if you want to use them in your own commands.
- The old Counting keeps working. If you have it on, you'll find it as Counting (old) in your modules. Your old settings don't move across, so pick your channel and rules again in the new one.