Commit Graph

21 Commits

Author SHA1 Message Date
47de861f45 Now tracks and caches all (I think) required data 2016-08-05 02:27:46 +01:00
1b2ea3c6bf Add runtime error checking for custom JS 2016-08-04 18:16:09 +01:00
a1c50b253d Added logger, resolves #4 2016-08-04 17:39:52 +01:00
3656080a43 Basic command creation/overwriting system 2016-08-04 02:41:02 +01:00
005dad899b Basic JS implementation 2016-08-03 22:04:05 +01:00
c37c959632 Add info command 2016-07-31 20:37:45 +01:00
a69636788f Stop printing bot token 2016-07-21 14:07:45 +01:00
6b2464bad4 Fix messages occasionally not going through
Discord API will occasionally throw 502 Bad Gateway errors. Retrying
normally means this is not a problem.
2016-07-21 14:07:05 +01:00
db3ab59daf Better compliance with API reference
Send User-Agent header, move token auth to Authorization header.
https://discordapp.com/developers/docs/reference
2016-07-20 22:57:47 +01:00
1f6d1a774d Fix questions being answerable twice 2016-07-13 00:00:00 +01:00
3f8e6bf5f5 More smart pointers, clean up threading a little
The threading is still not good
2016-07-12 23:43:23 +01:00
a3d4c16c75 Fix an error causing TriviaGame.cpp to not compile under g++
Also fix some smaller warnings.
2016-07-12 21:19:20 +01:00
5bc01ba167 Actually remove the bad argument 2016-07-12 21:11:28 +01:00
9616ba022d Fix bad reference argument
The reference is not needed and should not compile. It compiles on
Visual Studio due to a bug.
2016-07-12 21:09:56 +01:00
273f732d8c Switch to unique_ptr for thread pointers in TriviaGame 2016-07-12 20:47:18 +01:00
c189265435 Make bot token an argument, add trivia commands 2016-07-10 19:17:35 +01:00
54de981fc6 Make HTTPS work as intended 2016-07-10 19:16:42 +01:00
b31eaef6d6 Bot is now basically functional
Big tidy up, new question source.
2016-07-10 01:18:13 +01:00
5168a38702 Add nlohmann/json license 2016-07-05 00:58:39 +01:00
ccbb62949f Add gateway functionality 2016-07-05 00:51:53 +01:00
17f79b4e0b Start moving towards working on actual bot, add simplewebsocket submodule 2016-06-20 17:43:06 +01:00