An experimental Discord bot made with detritusjs/client library.
If you're planning to host this not only for yourself, shard it and host it on multiple servers as it can take up many resources for audio processing.
See modules/translations/lang/
.
- Node.js
- C++ build tools
- FFmpeg
- SOX
- Postgres server (for production)
- Install dependencies:
npm install
- Configure the application first using
*.example.json
files inconfigs/
directory as a template. - Configure the database using
knexfile.example.ts
file. - Build the application:
npm run build
.
To run the application in production mode:
- Set the NODE_ENV environment variable to
production
. - Run migrations:
knex migrate:latest
. - Run
npm start
.
Or if you are running under a development mode, just run 2 latter commands.