diff options
Diffstat (limited to 'bot/src/config.hpp')
| -rw-r--r-- | bot/src/config.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
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<std::string> paste_service = std::nullopt; }; + struct TokenConfiguration { + std::optional<std::string> github_token = std::nullopt; + }; + struct Configuration { TwitchCredentialsConfiguration twitch_credentials; DatabaseConfiguration database; CommandConfiguration commands; OwnerConfiguration owner; UrlConfiguration url; + TokenConfiguration tokens; }; std::optional<Configuration> parse_configuration_from_file( |
