Discord.js starter kit.
You can invite the BOT from the following URL.
- Notify a specific channel when a BOT is added to the server.
- You can enter the /help command.
Create .env with the following contents on project root dir.
BOT_TOKEN='foo' # Discord BOT TOKEN
BOT_JOIN_LOG_CHANNEL_ID='bar' # Channel ID to be notified
Execute the following command in a terminal
# install packages
$ npm install
# start local server
$ node index.js
Bot is online and running in 0 servers!