From 2d40d39264de4eed0bdb9e8e0117a8c1e2f199d3 Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Fri, 13 Dec 2024 23:50:45 +0500 Subject: feat: now you can listen to github --- bot/src/config.hpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'bot/src/config.hpp') diff --git a/bot/src/config.hpp b/bot/src/config.hpp index 8707d02..db73f9a 100644 --- a/bot/src/config.hpp +++ b/bot/src/config.hpp @@ -42,12 +42,17 @@ namespace bot { std::optional paste_service = std::nullopt; }; + struct TokenConfiguration { + std::optional github_token = std::nullopt; + }; + struct Configuration { TwitchCredentialsConfiguration twitch_credentials; DatabaseConfiguration database; CommandConfiguration commands; OwnerConfiguration owner; UrlConfiguration url; + TokenConfiguration tokens; }; std::optional parse_configuration_from_file( -- cgit v1.2.3