From 50d5c3d36c8f00e9d59073c3a0c710de805ead4e Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Thu, 10 Apr 2025 21:59:10 +0500 Subject: feat: !randompost command --- bot/src/config.hpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'bot/src/config.hpp') 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 +#include #include #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 rpost_path = std::nullopt; }; struct OwnerConfiguration { @@ -40,6 +43,7 @@ namespace bot { struct UrlConfiguration { std::optional help = std::nullopt; std::optional paste_service = std::nullopt; + std::optional randompost = std::nullopt; }; struct TokenConfiguration { -- cgit v1.2.3