dawgcodes / CountingBot

Advanced Counting Bot made with discord.js v14(slash command).

Home Page:https://county-bot.vercel.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CountingBot

CountingBot is a Discord counting bot made with discord.js v14.

Report Bug & Request Feature

πŸ”₯ Unique Features

  • Developed using Discord.js v14
  • Advanced Counting System
  • Top.gg vote reward
  • User saves
  • User-friendly and Easy to Use
  • Slash commands
  • Leaderboard system
  • Math count
  • Customizable settings

Need Help with setup? Join our Discord Server and ask in the #support channel

πŸ”§ Requirements

Before starting with the installation, you need to have the following:

πŸš€ Installation from source

  1. Clone the CountingBot repository:
git clone https://github.com/dawgcodes/CountingBot.git
  1. change the directory to CountingBot
cd CountingBot
  1. Install the required packages:
npm i
  1. Set up your environment variables:

Create a .env file in the root directory of your project with the following variables:

TOKEN="." ## Your bot token
MONGO="mongodb+srv://xyz:xyz@xyz.rn0v74r.mongodb.net/?retryWrites=true&w=majority" ## Your MongoDb Url.

Than fill config.json file to your variables:

{
  "global": true, ## Global slash command
  "devGuildId": "", ## Devloper guild id
  "clientId": "", ## Bot client id
  "devs": [""], ## Developers id
  "logChannel": "", ## Command log channel
  "color": " White",
  "voteLog": "", ## Bot vote log channel
  "support": "" ## Bot support server
}
  1. Go to Events/Vote/VoteEvent.js than change the port at line 93.
app.listen(YOUR_SERVER_PORT);
  1. Make a url:
http://YOUR_IP:PORT/vote

## replace YOUR_IP to your server/vps ip and replace PORT to your server/vps port
  1. Than go on top.gg bot webhook site. And replace the webhook url to this url.

  2. Also out vote in Authorization option.

  3. Run the bot:

npm run ./Structures/index.js or node .
  1. Invite the bot to your server:

Generate an invite link for your bot and invite it to your server using the Discord Developer Portal or using permissions calculator: https://discordapi.com/permissions.html

πŸ”— Useful Links

About

Advanced Counting Bot made with discord.js v14(slash command).

https://county-bot.vercel.app/


Languages

Language:JavaScript 100.0%