Commit Graph

45 Commits

Author SHA1 Message Date
301d99ca2f Fix bad role name checking code 2016-08-19 17:47:07 +01:00
0498b22c8c Apply same permissions from ~createjs to ~js 2016-08-19 17:30:00 +01:00
9c7e4f5a6d Squash bugs and warnings, optimise CMake builds. 2016-08-15 21:12:47 +02:00
4b2d0ee50a Add config, neaten up some things 2016-08-15 17:47:34 +01:00
da93eda0be Fix shutting down, other minor cleanups 2016-08-14 17:46:29 +01:00
8ebe6c2c4e Squash some bugs and fix some warnings. Update CMakeLists 2016-08-12 15:42:03 +01:00
7739404646 Compatability for g++ 4.9 2016-08-12 15:30:47 +01:00
ec19b784b3 Fix some warnings 2016-08-11 20:21:46 +01:00
e4cc023055 Overhaul a lot, fix the JS implementation 2016-08-10 17:07:41 +01:00
f47d8adc36 Most of Boobot's JS object implementation 2016-08-05 22:32:47 +01:00
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
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
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