diff options
Diffstat (limited to 'src/config.hpp')
| -rw-r--r-- | src/config.hpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/config.hpp b/src/config.hpp index 3c10d86..6f4c765 100644 --- a/src/config.hpp +++ b/src/config.hpp @@ -4,9 +4,18 @@ #include <string> namespace bot { + struct DatabaseConfiguration { + std::string name; + std::string user; + std::string password; + std::string host; + std::string port; + }; + struct Configuration { std::string bot_username; std::string bot_password; + DatabaseConfiguration database; }; std::optional<Configuration> parse_configuration_from_file( |
