Skip to content

GDGAlgiers/discord.js-bot-template

Repository files navigation

GDG LOGO


Description

TemplateJs is an open source discord.js based bot template that will help you build a Discord bot in a quick and elegant way. It's easy-to-use and simple-to-setup Command handler for Discord bots, You just have to tweak few settings, add your commands, and you will be ready to go!

Requirements

How to use it ?

  • Make sure that the 'applications.commands' scope is checked in the scopes section of the OAuth2 settings for your bot

  • Clone this repo

git clone https://github.com/GDGAlgiers/discord.js-bot-template
  • Put the token and the client id of your bot, the guild id of your discord server, into the config.js file
{
   "clientId": "your client id",
   "guildId": "your guild id",
   "token": "your bot's token"
}
  • Install the dependencies
npm install 
  • Run the bot.js file
node src/bot.js 

Warning

⚠️ Be careful, hide your config.json file from pushing your bot and server informations !

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published