From 8edf3bf0ca81b942a165cde3bdea11ca755da955 Mon Sep 17 00:00:00 2001 From: Cara Salter Date: Mon, 10 Apr 2023 11:15:35 -0400 Subject: modldr: Support modules in a different path from exe Change-Id: If56998535b8067b29ea34c760ac2da4339174983 --- 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 08574d1..e6d7c13 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -74,7 +74,7 @@ int main(int argc, char const *argv[]) { }); /* code */ - Bot client(0, &bot, cfg.value("prefix", ".").at(0)); + Bot client(0, &bot, cfg.value("prefix", ".").at(0), cfg); client.set_owner_id(dpp::snowflake(cfg.value("owner", "00000000000"))); -- cgit v1.2.3