14 Commits

Author SHA1 Message Date
Chris Marsh
990c8d4be6 Enable warnings, clang edition. 2017-10-12 16:08:08 -07:00
Chris Marsh
39ff0bf3e4 Ask to join (#4)
This adds a new callback `joinRequest` and a new API function `Discord_Respond` to reply to it.
2017-10-12 13:06:55 -07:00
Chris Marsh
4cf8ca5670 Remove dep on rapidjson/internal 2017-08-28 10:43:36 -07:00
Chris Marsh
e07806424b copy-n-paste bug 2017-08-28 10:02:37 -07:00
Chris Marsh
ee11358d7f null or empty strings should be omitted 2017-08-02 14:57:02 -07:00
Chris Marsh
98852fba82 Wrap json writer the same way I did reader. More RAII for json writing so I'm less likely to mess it up again. 2017-07-28 13:42:58 -07:00
Jason Citron
6338a572d3 Size key was missing from the party array 2017-07-27 23:36:22 -07:00
Chris Marsh
7a6172a300 Format 2017-07-25 09:27:48 -07:00
Chris Marsh
38c0599380 Just use stack allocations in parsing by default. 2017-07-24 14:59:45 -07:00
Chris Marsh
88ab85c81e Rename, move some json stuff to header 2017-07-24 10:54:47 -07:00
Chris Marsh
449584b9c9 Register for events for our three callbacks 2017-07-21 15:42:59 -07:00
Chris Marsh
827c056602 I like this better over here. 2017-07-20 15:08:34 -07:00
Chris Marsh
fa437ad897 Fix up sending presence format 2017-07-20 14:59:32 -07:00
Chris Marsh
79d70b8bae Let's use rapidjson instead of roll-your-own json. Added helpers to keep allocations minimized. 2017-07-20 13:24:18 -07:00