Commit Graph

30 Commits

Author SHA1 Message Date
3135ddddd6 Create README.md 2016-07-21 15:01:36 +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
JackBeePee
079dab7c91 Added sqlite3 amalgamation submodule 2016-07-12 22:29:46 +02: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
JackBeePee
7e28aef858 Add websocketpp submodule 2016-07-12 21:59:51 +02:00
1ce4b002c4 Remove lib from gitignore 2016-07-12 20:58:05 +01:00
273f732d8c Switch to unique_ptr for thread pointers in TriviaGame 2016-07-12 20:47:18 +01:00
4bcedace38 Update CMakeLists.txt for Linux building 2016-07-12 20:47:02 +01:00
1c5b900a5a Removed submodule TriviaBot/bot/simplewebsocket 2016-07-10 20:06:58 +01:00
08fb379f51 Attempt to create a cmake config 2016-07-10 19:18:02 +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
5f300cc7ed Add database schema and relocate database to seperate directory 2016-06-20 16:59:15 +01:00
786f03d2e5 Rename database 2016-06-20 16:54:54 +01:00
8d5503974a Removed library files succesfully 2016-06-20 16:49:57 +01:00
65cc6f7316 a 2016-06-20 16:25:09 +01:00
1ee6455d33 Attempt #2 to ignore libraries 2016-06-20 16:16:36 +01:00
bb223b0447 Remove libraries from git 2016-06-20 16:12:08 +01:00
af2399e2ea Add project files. 2016-06-20 16:02:41 +01:00
0728118dc9 Add .gitignore and .gitattributes. 2016-06-20 16:02:37 +01:00