Discord bot for shooting_the_breeze.java
- Install the current verison of Node.js
- This should install npm (run
npm -v
to check) - If it didn't, run
npm install -g npm@latest
- Finally, run
npm install
in the project root
- Setting up a bot application
- Adding your bot to servers
- Setup a config.json as shown in the src/ folder (you'll need to enable dev settings to get the client and guild id through the right-click in discord):
{
"clientId": "your-bots-id",
"guildId": "your-guild-id",
"token": "your-token-goes-here"
}
- Run
npm run deploy
once - Run
npm run prod
to start the bot server