Commit Graph

26 Commits

Author SHA1 Message Date
cd461a99c6 Revert to c++14
make_unique etc required, implemented as part of c++14
2016-07-31 22:59:55 +01:00
ceedf4b996 Try downgrading to c++11 2016-07-31 21:49:44 +01:00
e04299bd30 Support lower CMake versions 2016-07-31 21:13:38 +01:00
69f7452f04 Reduce required CMake version
Unsure of the actual minimum required version
2016-07-31 21:04:18 +01:00
399e6c924d Remove VS files 2016-07-31 20:37:45 +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
4bcedace38 Update CMakeLists.txt for Linux building 2016-07-12 20:47:02 +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
af2399e2ea Add project files. 2016-06-20 16:02:41 +01:00