From dbbcaf84e9a86f0381dff83c1c1a1e32ae4856c0 Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Tue, 30 Apr 2024 21:37:17 +0500 Subject: feat: Channel in Request struct --- src/commands/request.hpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/commands/request.hpp') diff --git a/src/commands/request.hpp b/src/commands/request.hpp index efa0655..6149dee 100644 --- a/src/commands/request.hpp +++ b/src/commands/request.hpp @@ -5,6 +5,7 @@ #include #include "../irc/message.hpp" +#include "../schemas/channel.hpp" namespace bot::command { struct Request { @@ -12,6 +13,9 @@ namespace bot::command { std::optional subcommand_id; std::optional message; const irc::Message &irc_message; + + schemas::Channel channel; + pqxx::connection &conn; }; } -- cgit v1.2.3