Overview
Counting is a game: members write the numbers in order in one channel (1, 2, 3…). Petto checks each number:- The right number gets a reaction (✅). A number that beats the record gets 🏆 only on the step the server chose (every 100 numbers by default, or never), so it does not pile up.
- A wrong number gets ❌ and, by default, the count goes back to the start.
- The same person cannot count two numbers in a row: someone else has to count in between. That message does not break the count.
- Messages that are not numbers are chat and are left alone, so people can talk in the channel.
Right numbers, and chat in between
Right numbers, and chat in between

In Discord: each right number gets ✅, and a message that is not a number is left alone.
A wrong number
A wrong number

In Discord: a wrong number gets ❌ and the count starts again from 1.
The same person twice
The same person twice

In Discord: the same person cannot count twice in a row, and the count stays where it was.

In Discord: the last number is edited, and Petto says which one it was.

In Discord: the count reaches 500 with a sum, a record that earns a save, and the next mistake uses it.
Commands
!counting setup
!counting setup

In Discord: the game starts in #counting.
!counting next
!counting next

In Discord: the next number and the record.
!counting stats
!counting stats

In Discord: the numbers of a member.
!counting leaderboard
!counting leaderboard

In Discord: who has counted the most.
!counting config
!counting config

In Discord: how the game is set up.
!counting set saves
!counting set saves

In Discord: the server can keep 2 saves.
!counting set math
!counting set math

In Discord: sums stop counting as numbers.
!counting number
!counting number

In Discord: the count is put at 500.
!counting reset
!counting reset

In Discord: the count starts again.
!counting disable
!counting disable

In Discord: the game stops, and the numbers are kept.
Without Manage Server
Without Manage Server

In Discord: a member without Manage Server cannot use the commands of the administrators.
next, stats, leaderboard and config are for everyone. Short name: !count.
Sums
With sums on (the default) a member can write2*3+1 and it counts as 7. It understands + - * / ^ and brackets, and only whole numbers: 7/2 is not a number. Petto never runs what is written as code.

In Discord: a sum counts as its result, and 7/2, which is not a whole number, is left alone as chat.
Saves
With saves (!counting set saves 2) the server keeps up to that many saves (0 to 5; 0, no saves, by default). A save forgives one mistake: the count does not go back. One new save is earned every 100 numbers (save_every).

In Discord: a save is earned at 600, and the next mistake uses it instead of starting over.
Roles and alerts
- Mistake role (
wrong_role): given to who gets a number wrong. It lasts the minutes you choose (wrong_role_time, 60 by default) or, with 0, until that member’s next right number. - Role of the best counter (
top_role): it moves to whoever has the most right numbers, so it changes hands when someone passes the first place. - Alerts that delete themselves (
alert_time): the messages about a mistake (a wrong number, two in a row, an edited or deleted number) are deleted after that many seconds. 30 by default, 0 keeps them.
none removes a role: !counting set top_role none.
!counting set wrong_role
!counting set wrong_role

In Discord: the mistake role.
!counting set top_role
!counting set top_role

In Discord: the role of the best counter.
!counting set alert_time
!counting set alert_time

In Discord: the alerts of a mistake delete themselves after 30 seconds.
Settings

Dashboard → Community → Counting: the count now, the record, the right numbers and mistakes, and the settings.

Dashboard → Community → Counting: who counts the most.