Discord Counting System

About this app
This is a discord counting channel system! In this app are all the things necessary to have counting channels in your discord
server handled automatically!
A quirk of this app is that it allows for Jump counting! Jump counting is when a user sends a message with the correct number, then
edits it for a random number. This new number is what the next person has to count to!
Features
- Impliments slash commands
- Goal specification (allow counting to stop and the channel to be regular after a goal — or not, goal is optional)
- Channel description with goal and next number (does not apply for when you Jump-Count)
- Jump counting
- Automatic deletion of incorrect answers
- Automatic deletion if a user sends multiple numbers in a row (even if they are correct)
- Automatic error handling — This system edits the channel description, which is only possible 3 times per 10 minutes (Discord rules).
When the bot is rate limited it will automatically make a timestamped message that will delete at or a moment after its expiration. This
message uses discord timestamps which are automatically updated by your client, rather than by the bot.
Setup
There is no setup require for this, although it takes one hour for it to be set up unless you intervene. To set up instantaneously,
run functions/events/register-slash-commands.js.
Commands
A single slash command /counting
. You must mention the channel and, optionally, mention a goal.
Troubleshooting
If you have any issues, feel free to contact @CixAstra#1643. Although, the most common errors are
because:
- You deleted the timestamp (rate limit) message yourself
- You have not enabled MESSAGE CONTENT INTENT on the discord developer panel. (I'm almost certain
only verified bots need to do this.)
Warnings
- This app uses quite a few endpoints, specifically because of the scheduler running every minute. Unfortunately the only way to stop this
is to make the timestamp message stay longer by changing how often functions/scheduler/deleter.js is run.
- You cannot unmonitor a channel once you begin counting, you have to finish the goal, or if it is unlimited, then it is impossible.