BASED ON : https://github.com/lucasromerodb/discord-bot-starter-template-nodejs
- Node 12 or newer (LTS recommended)
- VS Code (or similar)
cp config.mock.json config.json # to setup the your private bot token
Then update the BOT_TOKEN
and OPEN_AI_KEY
with your real one in the config.js
file.
{
"BOT_TOKEN": "YOUR_BOT_TOKEN_HERE",
"OPEN_AI_KEY": "YOUR_API_KEY"
}
node index.js
Now you can see your bot online on your Discord server