It is a simple template to get started with your Discord Bot with Discord.js
- Edit the File
.env
. - Edit the follow things:
TOKEN = YOUR_BOT_TOKEN_HERE
CLIENT_ID = YOUR_CLIENT_ID
GUILD_ID = YOUR_GUILD_ID
- Save the file. Open Terminal in the Project Directory.
- Run:
npm i
npm i discord.js@latest
npm i dotenv
node .
- You are done.
- Only change the token , clientid and the guildid to your