First experiment with the Discourse API: a bot which discourages users from dominating a category.
This is already proving useful in our opt-in Politics category on one of my Discourse forums.
I’m new to Discourse API development, so feedback and PRs appreciated
https://github.com/chrisbeach/anti-domination-bot
Configuration
Customise src/main/resources/application.conf.sample and save as src/main/resources/application.conf
See comments in file for instructions
Running with Docker
docker run -t \
-v /path/to/your/application.conf:/root/src/main/resources/application.conf \
chrisbeach/anti-domination-bot
NOTE: /path/to/your/application.conf
is the location of your customised application.conf file and must be specified as an absolute path.
Running (Development)
NOTE: Requires SBT
sbt run