aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorCara Salter <cara@devcara.com>2023-04-06 17:14:22 -0400
committerCara Salter <cara@devcara.com>2023-04-06 17:14:22 -0400
commit555810bedc0cf9d9d954f56b5a2c8c92522ad27f (patch)
tree0dd37a701fb242fa953c23f2b0a94252fa60762b /src/main.cpp
parent3a3a1e5345ae8e133fa7800d9fcba2dbb779b8b9 (diff)
parent7629de5b888bd3d1cdb94dce3ba51cb1e1c2e625 (diff)
download142bot-555810bedc0cf9d9d954f56b5a2c8c92522ad27f.tar.gz
142bot-555810bedc0cf9d9d954f56b5a2c8c92522ad27f.zip
Merge branch 'database'
Change-Id: I5f6fb3b64db0585955defdec0fe1ee9555ba89ec
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 8f3ad9a..f54e418 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -1,6 +1,7 @@
#include <dpp/dpp.h>
#include <dpp/json.h>
#include <142bot/bot.hpp>
+#include <142bot/db.hpp>
#include <spdlog/spdlog.h>
#include <spdlog/async.h>
@@ -17,7 +18,6 @@ int main(int argc, char const *argv[]) {
std::ifstream f("config.json");
json cfg = json::parse(f);
string token = cfg.value("token", "bad-token");
-
dpp::cluster bot(token, dpp::intents::i_all_intents);
std::shared_ptr<spdlog::logger> log;