summaryrefslogtreecommitdiff
path: root/bot/src/config.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'bot/src/config.hpp')
-rw-r--r--bot/src/config.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/bot/src/config.hpp b/bot/src/config.hpp
index 11493d7..05ce0f0 100644
--- a/bot/src/config.hpp
+++ b/bot/src/config.hpp
@@ -1,6 +1,7 @@
#pragma once
#include <optional>
+#include <sol/sol.hpp>
#include <string>
#define GET_DATABASE_CONNECTION_URL(c) \
@@ -30,6 +31,8 @@ namespace bot {
struct CommandConfiguration {
bool join_allowed = true;
bool join_allow_from_other_chats = false;
+
+ std::optional<std::string> rpost_path = std::nullopt;
};
struct OwnerConfiguration {
@@ -40,6 +43,7 @@ namespace bot {
struct UrlConfiguration {
std::optional<std::string> help = std::nullopt;
std::optional<std::string> paste_service = std::nullopt;
+ std::optional<std::string> randompost = std::nullopt;
};
struct TokenConfiguration {