Skip to content

jasonmidul/CountingBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Run on Repl.it

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/jasonmidul/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": "1022398942983495680", ## Devloper guild id
  "clientId": "1106236979147964426", ## Bot client id
  "devs": ["948807824446742568"], ## Developers id
  "logChannel": "1096824161403420729", ## Command log channel
  "color": " White",
  "voteLog": "1127416321320173688", ## Bot vote log channel
  "support": "https://discord.gg/PZQT6c7gJn" ## 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