Make bot token an argument, add trivia commands

This commit is contained in:
2016-07-10 19:17:35 +01:00
parent 54de981fc6
commit c189265435
8 changed files with 103 additions and 73 deletions

View File

@ -83,8 +83,6 @@ namespace DiscordObjects {
inline void Guild::load_from_json(json data) {
Guild();
std::cout << data.dump(4) << std::endl;
id = data.value("id", "null");
name = data.value("name", "null");