summaryrefslogtreecommitdiff
path: root/src/config.hpp
diff options
context:
space:
mode:
authorilotterytea <iltsu@alright.party>2024-05-08 22:05:21 +0500
committerilotterytea <iltsu@alright.party>2024-05-08 22:05:21 +0500
commit3a1e75ab3767139de0f381a04c44e92bb0d947de (patch)
tree9de712a1ce2d5ddefed6037b7fba03587aca30ec /src/config.hpp
parent08714a202d0eff3dfd31a4b0dd7f3311b0fd3f0e (diff)
feat: new placeholder
Diffstat (limited to 'src/config.hpp')
-rw-r--r--src/config.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/config.hpp b/src/config.hpp
index 584fb09..69b906d 100644
--- a/src/config.hpp
+++ b/src/config.hpp
@@ -22,9 +22,15 @@ namespace bot {
std::string token;
};
+ struct CommandConfiguration {
+ bool join_allowed = true;
+ bool join_allow_from_other_chats = false;
+ };
+
struct Configuration {
TwitchCredentialsConfiguration twitch_credentials;
DatabaseConfiguration database;
+ CommandConfiguration commands;
};
std::optional<Configuration> parse_configuration_from_file(