Miscellaneous

Counting

Turn a channel into a counting game your members play together.


Note:

Slash commands for this page

Set this up in Discord with /configure feature:Counter channels, or on the dashboard under Community › Counting.

Use the slash version of each command below. Prefix commands keep working until March 5, 2027. What is changing

  • ,counter → /configure feature:Counter channels
  • ,counter options → /configure feature:Counter channels
  • ,counter list → /configure feature:Counter channels
  • ,counter remove → /configure feature:Counter channels

Overview

Counting turns one channel into a game: members take turns posting the next number, and greed reacts to every correct one. Get it wrong and the count can start over, so the whole server works together to push the high score up.

Members can post a plain number or a bit of maths that works out to it, such as 2+2, 2^3, sqrt(16), 4!, gcd(8, 12) or lcm(4, 6). You choose the rules: how far apart the numbers are, how many times in a row one member may count, whether a wrong number resets the count, and whether wrong numbers and chatter are deleted. Reaching chosen numbers can hand out roles.

Counting is free. Each server has one counting channel.

Note:

Looking for channels that show live server stats in their name, like "Members: 12,480"? Those are Counter channels, a separate feature that keeps working as before.

Setting it up

  1. Pick the channel

    Run /counting toggle with the channel you want. Counting starts straight away and the first number is 1.

  2. Choose the rules

    Run /counting edit to open the settings. Everything is optional: the defaults count up by 1, stop a member counting twice in a row, and reset the count on a mistake.

  3. Add milestone roles

    In the Role rewards tab, add a number and a role. The member who posts that number gets the role.

You need the Manage Server permission to set counting up. Every setting is also in /configure → Utility → Counting and on the dashboard.

How a count is judged

The next number is the current count plus the step. When a member posts it, greed adds its reaction (✅ by default) and the count moves on. The member's correct counts go up and the server's high score updates.

A count fails when the number is not the one expected, or when a member counts more times in a row than the limit allows. greed posts the fail message and, with Reset on a wrong count on, the count goes back to 0. With it off, the count stays where it was and the next member carries on. A fail adds the wrong reaction (❌ by default), or deletes the message if Delete wrong counts is on.

With Allow talking on (the default), a message that is not a number is ignored, so members can chat between counts. Turn on Delete talking to remove that chatter. With Allow talking off, a message that is not a number counts as a wrong count.

With Allow maths on (the default), greed works out simple expressions: +, -, * or ×, / or ÷, ^ or **, ! for factorials, brackets, and the functions sqrt, gcd and lcm. Every step has to come out as a whole number: division must be exact and sqrt only takes perfect squares. An expression can be up to 64 characters and factorials go up to 18!. Anything greed can't work out is treated as talking. With maths off, only plain numbers count.

greed posts the milestone message every time the count reaches a multiple of Milestone every (100 by default) and every time it reaches a number that has a role reward. Set Milestone every to 0 to post milestones only for role rewards.

Bots and webhooks are never counted.

Commands

Turn counting on or off

/counting toggle [channel]

With a channel, counting starts there (or moves there, keeping the current count). Without one, it switches counting off or back on in the channel you already set. Turning it off keeps the count and every setting.

Open the settings

/counting edit

Opens the counting page of /configure, where every setting below lives.

Set the count

/counting set (number)

Sets the current count, for example to carry on from another bot. The next number is this one plus the step. Any whole number from 0 to 1,000,000,000,000 works.

Limit counts in a row

/counting limit (number)

How many times in a row one member may count, from 0 to 100. The default, 1, means members have to take turns. 0 removes the limit.

Stats and leaderboard

/counting stats [member]
/counting leaderboard

stats shows a member's correct and wrong counts, their accuracy and rank, and the server's current count and high score. leaderboard ranks members by correct counts. Anyone can use both.

Reset

/counting reset

Resets the count, the high score and every member's stats, after you confirm. Settings and role rewards are kept.

Variables

/counting variables

Lists the variables the fail and milestone messages can use.

Tip:

Every command also works with the prefix, as ,counting or ,count: for example ,counting toggle #counting. ,counting on its own shows your stats.

Settings

SettingWhat it doesDefault
EnabledCounting on or offOn once a channel is set
Counting channelThe channel the game runs inNone
Fail log channelWhere greed logs who broke the count, where and at what numberNone
Count byThe step between numbers, 1 to 1,0001
Counts in a row per member0 to 100, 0 means no limit1
Milestone everyPost a milestone at each multiple, 0 to turn it off100

The Reset count button resets the count, high score and stats, after a confirmation.

SettingDefault
Reset on a wrong countOn
Allow mathsOn
Allow talkingOn
Delete wrong countsOff
Delete talkingOff
  • Correct reaction and Wrong reaction: any emoji, ✅ and ❌ by default.
  • Fail message and Milestone message: your own script, with the counting variables below. Leave them empty to use greed's own messages.

Give a role when the count reaches a number. The member who posts that number gets the role. greed can only give roles below its own highest role.

Variables

Use these in the fail and milestone messages, together with the usual {user.*}, {guild.*} and {channel.*} variables. {user.*} is the member who counted.

VariableDescription
{count.current}The count right now
{count.next}The number that should come next
{count.expected}The number that was expected when someone failed
{count.highscore}The highest count this server reached
{count.reason}Why the count failed
{user.mention} broke the count at **{count.expected}** ({count.reason}). Back to **{count.next}**!

Limits

FreeServer Premium
Counting channels11
Milestone roles550

Permissions

  • Manage Server to turn counting on, change settings, set the count, change the limit or reset.
  • Anyone can play and use stats, leaderboard and variables.
  • greed needs Add Reactions in the counting channel, Manage Messages to delete wrong counts or chatter, and Manage Roles for role rewards.