A powerful and customizable counting bot for Discord servers. Keep track of counting games, enforce rules, and log activities efficiently.
- Enforces counting rules
- Tracks counting progress
- Logs counting activities to a dedicated channel
- Supports multiple servers
- Redis and MongoDB integration for efficient data management
- Admin controls and developer features
- Node.js v16 or later
- MongoDB database
- Redis server
- A Discord bot token from the Discord Developer Portal
- Clone the repository:
git clone https://github.com/jasonmidul/CountingBot.git cd CountingBot
- Install dependencies:
npm install
- Create a
.env
file in the project root and add your credentials:token="your bot token" mongoUrl="mongodb+srv://xyz" logWebhook="https://discord.com/api/webhooks/xyz" redis="redis://xyz"
- Run the bot:
node index.js
Modify config.js
to set up bot settings:
botToken
: Your Discord bot tokenmongoUrl
: MongoDB connection stringredis
: Redis database URLclientId
: Bot's client IDlogChannel
: Log channel IDvoteLog
: Voting log channel IDdeploySlashOnReady
: Whether to deploy slash commands on startupunderDevelopment
: Toggle development modedevelopers
: List of bot developersdevGuilds
: List of development serversbetaTestGuilds
: List of beta test serverscTopic
: Counting rules messagevoteUrl
: URL to vote for the botlogWebhook
: Webhook URL for logging
- No Skipping Numbers
- No Going Back In Numbers
- Must Alternate Counters (except for solo mode)
- No Botting, Scripting, or Abusing Bugs
- Do Not Intentionally Ruin The Count
For issues or suggestions, open an issue on the GitHub repository.
This project is licensed under the MIT License. See LICENSE
for details.