Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 820 Bytes

README.md

File metadata and controls

24 lines (19 loc) · 820 Bytes

Discord-Bot-Template

A base to create discord bots using discord.js version 14

How to set up:

  • clone the repository;
  • (windows) open the cmd in the project directory and run npm i, this will install / update the required modules;
  • create a config.json file and insert your bot token and clientId; it should look like this:
{
    "token": "Your-Token",
    "clientId": "Your-Client-Id"
}
  • set up the commands in the commands directory;
  • to run the bot, in the terminal, run node . or better nodemon .