summaryrefslogtreecommitdiff
path: root/src/config.cpp
diff options
context:
space:
mode:
authorilotterytea <iltsu@alright.party>2024-05-01 23:53:13 +0500
committerilotterytea <iltsu@alright.party>2024-05-01 23:53:13 +0500
commit7f9002377d207d7a175d595faf9f756629a8557c (patch)
tree349b004592e8ad35ee2d51c487810576391cec79 /src/config.cpp
parentb424f1e2aee3516c482fc2f0968bde1af49a2f6f (diff)
feat: added bot_client_id field to Configuration
Diffstat (limited to 'src/config.cpp')
-rw-r--r--src/config.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/config.cpp b/src/config.cpp
index 1a11f0b..45209e4 100644
--- a/src/config.cpp
+++ b/src/config.cpp
@@ -38,6 +38,8 @@ namespace bot {
cfg.bot_username = value;
} else if (key == "bot_password") {
cfg.bot_password = value;
+ } else if (key == "bot_client_id") {
+ cfg.bot_client_id = value;
} else if (key == "db_name") {
db_cfg.name = value;
} else if (key == "db_user") {