From 428998889e9bb60c7dc46388184b07c489ddaeb2 Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Thu, 4 Dec 2025 01:26:30 +0500 Subject: feat: trusted users --- bot/src/config.hpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'bot/src/config.hpp') 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 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 parse_configuration_from_file( - const std::string& file_path); + const std::string &file_path); } -- cgit v1.2.3