Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
jsonevtloop mode + perl module #90
I've removed all my json generation (also removed dependencies on gson library) in favour of what you pushed the other day.
I also added some convenience functionality to your json data output, for instance now it always emits additional timestamp in readable ISO utc format and the groups name if it's a group message. The latter which in turn resulted in the need for having Manager object in creation of JsonGroupInfo object.
However I felt that this wasn't properly belonging under "daemon" option, so it's still invoked using it's own special "jsonevtloop" command.
Currently the JSON output is quite more complex than what is expected as JSON input, I'v prefer if the input would mirror the output in terms of JSON schema, but otoh that would be uneccessary complex (keep it simple).
Perl module is under perl/ with a couple of example scripted bots.