summaryrefslogtreecommitdiff
path: root/src/config.hpp
blob: 3c10d866fa4c2c8dc48bb69793c1dd4e0ca18968 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#pragma once

#include <optional>
#include <string>

namespace bot {
  struct Configuration {
      std::string bot_username;
      std::string bot_password;
  };

  std::optional<Configuration> parse_configuration_from_file(
      const std::string &file_path);
}