summaryrefslogtreecommitdiff
path: root/src/commands/request.hpp
diff options
context:
space:
mode:
authorilotterytea <iltsu@alright.party>2024-04-30 21:37:17 +0500
committerilotterytea <iltsu@alright.party>2024-04-30 21:37:17 +0500
commitdbbcaf84e9a86f0381dff83c1c1a1e32ae4856c0 (patch)
tree136359667881c3e852d6674f2a5fdc7089730c76 /src/commands/request.hpp
parent6d74bb52954156d6324d27455712e0d008ab938a (diff)
feat: Channel in Request struct
Diffstat (limited to 'src/commands/request.hpp')
-rw-r--r--src/commands/request.hpp4
1 files changed, 4 insertions, 0 deletions
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 <string>
#include "../irc/message.hpp"
+#include "../schemas/channel.hpp"
namespace bot::command {
struct Request {
@@ -12,6 +13,9 @@ namespace bot::command {
std::optional<std::string> subcommand_id;
std::optional<std::string> message;
const irc::Message<irc::MessageType::Privmsg> &irc_message;
+
+ schemas::Channel channel;
+
pqxx::connection &conn;
};
}