summaryrefslogtreecommitdiff
path: root/src/config.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.hpp')
-rw-r--r--src/config.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/config.hpp b/src/config.hpp
index 323e18f..5c437d6 100644
--- a/src/config.hpp
+++ b/src/config.hpp
@@ -37,11 +37,16 @@ namespace bot {
std::optional<int> id = std::nullopt;
};
+ struct UrlConfiguration {
+ std::optional<std::string> help = std::nullopt;
+ };
+
struct Configuration {
TwitchCredentialsConfiguration twitch_credentials;
DatabaseConfiguration database;
CommandConfiguration commands;
OwnerConfiguration owner;
+ UrlConfiguration url;
};
std::optional<Configuration> parse_configuration_from_file(