aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorCara Salter <cara@devcara.com>2023-04-10 11:15:35 -0400
committerCara Salter <cara@devcara.com>2023-04-10 11:15:35 -0400
commit8edf3bf0ca81b942a165cde3bdea11ca755da955 (patch)
treed644a49a7f5784426b07960b9e4a8a31804eb50a /src/main.cpp
parentacc7f305eedbfc6e05000c6bc72cd35bd1443452 (diff)
download142bot-8edf3bf0ca81b942a165cde3bdea11ca755da955.tar.gz
142bot-8edf3bf0ca81b942a165cde3bdea11ca755da955.zip
modldr: Support modules in a different path from exe
Change-Id: If56998535b8067b29ea34c760ac2da4339174983
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 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")));