summaryrefslogtreecommitdiff
path: root/src/config.hpp
diff options
context:
space:
mode:
authorilotterytea <iltsu@alright.party>2024-05-11 17:05:41 +0500
committerilotterytea <iltsu@alright.party>2024-05-11 17:05:41 +0500
commitd57a5bcc3151f91fd82aa6f333e99a60eca8ced3 (patch)
tree4a171216607ad958ab2128619622fa02cea6a0d2 /src/config.hpp
parent4cc618566d8546a06da0974612d08df80c45db62 (diff)
feat: help command + url configuration
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(