summaryrefslogtreecommitdiff
path: root/src/config.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.hpp')
-rw-r--r--src/config.hpp9
1 files changed, 6 insertions, 3 deletions
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;
};