It is a simple template to get started with your Discord Bot with Discord.js Library
- Create a file named
.env
. - Enter the following details to it:
token="YOUR TOKEN"
MONGODBURL="MONGO DB URI [Only required for commands which requires some data to store]"
- Save the file. Open Terminal in the Project Directory.
- Run:
npm i
node .
- You are done.
- head to src/functions/handelCommands.js to change your bot id
Join one of these Discord Servers, to get support: