diff options
Diffstat (limited to 'src/config.hpp')
| -rw-r--r-- | src/config.hpp | 6 |
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( |
