From 3a1e75ab3767139de0f381a04c44e92bb0d947de Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Wed, 8 May 2024 22:05:21 +0500 Subject: feat: new placeholder --- src/config.hpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/config.hpp') 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 parse_configuration_from_file( -- cgit v1.2.3