it's a template for discord bots with the discordJs library
- First you have to colone this repo
git clone https://github.com/GDGAlgiers/discord.js-bot-template
- then you have to put the token of your bot , and the guild id and the client id of your discord server , int the config.js file
{
"clientId": "your client id ",
"guildId": "your guild id",
"token": "your bot's tokent"
}
- install the dependencies
npm install
- finaly , run the bot.js file
node src/bot.js