From 7629de5b888bd3d1cdb94dce3ba51cb1e1c2e625 Mon Sep 17 00:00:00 2001 From: Cara Salter Date: Thu, 6 Apr 2023 15:45:39 -0400 Subject: pg: Add postgres support Supports migrations Change-Id: Ifca8358d4f57a4b417f1d972e400e98767e01bb5 --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main.cpp') 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 #include #include <142bot/bot.hpp> +#include <142bot/db.hpp> #include #include @@ -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 log; -- cgit v1.2.3