A music bot for Discord with high-performance, easily scalable.
The project is split into smaller packages which can be found into the /packages
folder:
discord-bot
: source for the Discord bot.rest-api
: an API to communicate with the MongoDB.
Each package contains a readme
.
-
Make sure you have the following dependencies installed on your system:
-
Bootstrap all packages and build them:
# install dependencies across the multiple packages
yarn
# run build script on all packages
yarn build
-
Create a copy of the
.env.example
as a.env
file and make sure to fill all the requested fields, otherwise the bot won't start and work properly. -
You will need to run all packages as background processes, I recommend using PM2.
## start the rest-api server as a background process
pm2 start packages/rest-api/dist --name rest-api
## start the discord-bot as a background process
pm2 start packages/discord-bot/dist --name discord-bot
This project is under MIT license.