From 08714a202d0eff3dfd31a4b0dd7f3311b0fd3f0e Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Tue, 7 May 2024 00:23:22 +0500 Subject: upd: struct for twitch credentials --- src/config.hpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/config.hpp') diff --git a/src/config.hpp b/src/config.hpp index afdf396..584fb09 100644 --- a/src/config.hpp +++ b/src/config.hpp @@ -17,10 +17,13 @@ namespace bot { std::string port; }; + struct TwitchCredentialsConfiguration { + std::string client_id; + std::string token; + }; + struct Configuration { - std::string bot_username; - std::string bot_password; - std::string bot_client_id; + TwitchCredentialsConfiguration twitch_credentials; DatabaseConfiguration database; }; -- cgit v1.2.3