Skip to content

Sashking/ping-bot-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Ping bot template

How do I install the bot?

  1. Download the code from this github repo
  2. Download and install Node.js from https://nodejs.org/
  3. Open the code in an editor like Visual Studio Code https://code.visualstudio.com/

How can I configure the bot?

  1. In VS Code - open the statics.js file
  2. Change any values to fit your server
  3. Rename example.env to .env
  4. Open the .env file
  5. Put your discord bot token (https://discord.com/developers/applications) in there

How do I start the bot?

  1. Open a terminal in VS Code by pressing Ctrl + Shift + ` (or simply in the menu bar on top: Terminal > New Terminal)
  2. Type npm run start and hit Enter

Is it possible to run multiple bots?

Tips on how to run the bot consistently

  • The more channels and categories you create - the smaller the cooldown can be
  • Don't go nuts with the speeds, it's better to create a second bot rather then maxing out the speed on the first one
  • If you plan on running the bots on your own PC, make sure you aren't even close to the rate limit (otherwise Discord might temporarily ban your IP for 0.5-2 hours)
  • The best option is to either buy a cheap hosting or find a free one (use Heroku while it's free!)