summaryrefslogtreecommitdiff
path: root/src/commands/request.hpp
diff options
context:
space:
mode:
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;
};
}