Alright, so this has probably been done before and this is done in a very hacked sort of way, and if I’m posting this in the wrong place, please let me know.
I’ve coded a tool in python which receives webhook data from Huginn, which receives it from Discourse. The required configuration with Huginn isn’t posted to the repo yet, but it will be posted soon, just haven’t gotten around to it yet.
Here is the repo URL. Other tools will be posted there as I write them, this is by no mean a finished and polished product, just how I solved a particular problem and, be aware, the code is messy and lacks comments as of me posting it here, I will update as I make changes and the like.
… And I just fixed the massive security risk of posting my API key… Damnit.