summary refs log tree commit diff stats
path: root/lingo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lingo.cpp')
-rw-r--r--lingo.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/lingo.cpp b/lingo.cpp index 137d6e7..64c97ac 100644 --- a/lingo.cpp +++ b/lingo.cpp
@@ -430,6 +430,8 @@ public:
430 dpp::snowflake channel(config["discord_channel"].as<uint64_t>()); 430 dpp::snowflake channel(config["discord_channel"].as<uint64_t>());
431 431
432 database_ = std::make_unique<verbly::database>(config["verbly_datafile"].as<std::string>()); 432 database_ = std::make_unique<verbly::database>(config["verbly_datafile"].as<std::string>());
433 database_->setTimeout(60 * 2);
434
433 imagenet_ = std::make_unique<imagenet>(config["imagenet"].as<std::string>()); 435 imagenet_ = std::make_unique<imagenet>(config["imagenet"].as<std::string>());
434 wanderlust_ = std::make_unique<wanderlust>(config["wanderlust"].as<std::string>()); 436 wanderlust_ = std::make_unique<wanderlust>(config["wanderlust"].as<std::string>());
435 fontpath_ = config["font"].as<std::string>(); 437 fontpath_ = config["font"].as<std::string>();
@@ -521,7 +523,7 @@ private:
521 {kTop, kRed}, 523 {kTop, kRed},
522 {kTop, kBlue}, 524 {kTop, kBlue},
523 {kTop, kBlack}, 525 {kTop, kBlack},
524 //{kTop, kYellow}, 526 {kTop, kYellow},
525 {kMiddle, kYellow}, 527 {kMiddle, kYellow},
526 {kMiddle, kRed}, 528 {kMiddle, kRed},
527 {kMiddle, kBlue}, 529 {kMiddle, kBlue},