Coder Social home page Coder Social logo

countybot / countingbot Goto Github PK

View Code? Open in Web Editor NEW
7.0 1.0 4.0 40 KB

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

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

JavaScript 100.00%
advanced counting-bot custom-client discord mongodb slash-commands v14-bot

countingbot's Introduction

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:[email protected]/?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

countingbot's People

Contributors

dawgcodes avatar dwgdev avatar

Stargazers

 avatar  avatar  avatar Paracel avatar sli4741 avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.