A simple discord.js Bot template, so you can start coding your custom Bot right away.
node
Version 8.0.0 or higher (tested with v12.13.1)git
command line (Windows|Linux|MacOS)npm
Comes with node.js, required to install the dependencies
=> In a command prompt in your projects folder (wherever that may be) run the following:
git clone https://github.com/DevItsMB/Discord-Bot-Template.git
- In the folder from where you ran the git command, run
npm install
to install the dependencies
- Create a file named
.env
with the following content:DISCORD_BOT_TOKEN=your_token_here
NOTE: Replace "your_bot_token_here" with your own custom token.
- To start the bot, in the command prompt, run the following command:
node app.js
- Or run the
run.bat
, that will start the bot for you