Commit Graph

59 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
893a6cbbe1 Update README.md 2016-08-04 02:53:54 +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
d49c502869 Update gitignore 2016-08-03 21:52:14 +01:00
4caab94bdf Travis: Fix deployment path 2016-08-01 00:31:15 +01:00
e5de9d581e Travis: Set up releases, reformat 2016-08-01 00:20:09 +01:00
c70e40b08d CMake: The correct library name is dl................... 2016-07-31 23:38:32 +01:00
cbaca76c07 CMake: Add ld to library list 2016-07-31 23:33:32 +01:00
e8439d18ce CMake: Ensure sqlite3.c is compiled 2016-07-31 23:18:21 +01:00
ad680a40b1 Add sqlite3 include directory to CMakeLists 2016-07-31 23:07:22 +01:00
cd461a99c6 Revert to c++14
make_unique etc required, implemented as part of c++14
2016-07-31 22:59:55 +01:00
a2dc7372fe Update README.md 2016-07-31 22:54:01 +01:00
550be5fab1 Travis: Use newer boost version 2016-07-31 22:40:52 +01:00
ceedf4b996 Try downgrading to c++11 2016-07-31 21:49:44 +01:00
8168a4c98e Don't use clang 2016-07-31 21:46:01 +01:00
143ee8b53a Try switch to Travis trusty dist & clang 2016-07-31 21:38:23 +01:00
fa23925154 Require new gcc version for c++14 support 2016-07-31 21:24:01 +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
c24d74b21f Travis: Further fixes
Make sure to navigate to TriviaBot directory, change libcurl package
name
2016-07-31 21:00:11 +01:00
de281c553e Different method of installing deps, debug with ls 2016-07-31 20:56:41 +01:00
c708219d13 Attempt travis integration 2016-07-31 20:53:25 +01:00
69661261d7 Re-add mistakenly removed submodules 2016-07-31 20:45:09 +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
36b79f99f7 Update README.md 2016-07-21 16:02:33 +01:00
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