diff options
| author | ilotterytea <iltsu@alright.party> | 2025-04-10 21:59:10 +0500 |
|---|---|---|
| committer | ilotterytea <iltsu@alright.party> | 2025-04-10 21:59:10 +0500 |
| commit | 50d5c3d36c8f00e9d59073c3a0c710de805ead4e (patch) | |
| tree | d202e70827652444b248607c8b28a78e94063dd3 /bot/src/config.hpp | |
| parent | 5c2cd6d3e293dc524415893cb1b8950193dce3e2 (diff) | |
feat: !randompost command
Diffstat (limited to 'bot/src/config.hpp')
| -rw-r--r-- | bot/src/config.hpp | 4 |
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 { |
