diff options
| author | ilotterytea <iltsu@alright.party> | 2025-12-04 01:26:30 +0500 |
|---|---|---|
| committer | ilotterytea <iltsu@alright.party> | 2025-12-04 01:26:30 +0500 |
| commit | 428998889e9bb60c7dc46388184b07c489ddaeb2 (patch) | |
| tree | 872a11239eebbf930c85d846f7cec9f828a43ab5 /bot/src/config.hpp | |
| parent | 638622d66dbe58ff96b7d1c2c6ec4b040b27da6d (diff) | |
feat: trusted users
Diffstat (limited to 'bot/src/config.hpp')
| -rw-r--r-- | bot/src/config.hpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/bot/src/config.hpp b/bot/src/config.hpp index 70491bd..020721d 100644 --- a/bot/src/config.hpp +++ b/bot/src/config.hpp @@ -24,9 +24,10 @@ namespace bot { std::string port; }; - struct TwitchCredentialsConfiguration { + struct TwitchConfiguration { std::string client_id; std::string token; + std::vector<int> trusted_user_ids; }; struct KickCredentialsConfiguration { @@ -70,7 +71,7 @@ namespace bot { }; struct Configuration { - TwitchCredentialsConfiguration twitch_credentials; + TwitchConfiguration twitch; KickCredentialsConfiguration kick_credentials; DatabaseConfiguration database; CommandConfiguration commands; @@ -84,5 +85,5 @@ namespace bot { }; std::optional<Configuration> parse_configuration_from_file( - const std::string& file_path); + const std::string &file_path); } |
