A highly modular, (theoretically) high-availability Discord bot. Very messy right now.
I wanted to learn about building with microservices. That's about it.
- common: Common library for a buncha stuff
- gateway: Handles connection to discord
- service: Has a buncha classes and utils to make service development way less tedious.
- service-automod: PoC automod service, unfinished. Uses modernmt/profanity-filter.
- service-configure: Sets up basic database configuration & stuff.
- service-test: Test service
Make a bootstrap.json file wherever you're running service-configure
{
"mongoUri": "mongodb://localhost:27017",
"mongoDatabase": "rojo",
"redisHost": "localhost",
"redisPassword": "",
"redisPort": 6379
}service-configure must be started first, then gateway, then any other services.