summaryrefslogtreecommitdiff
path: root/bot/src/commands/request_util.hpp
blob: dea6e12c0771440e29d66fb425e775eaa245e6d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <optional>
#include <pqxx/pqxx>

#include "../irc/message.hpp"
#include "command.hpp"
#include "request.hpp"

namespace bot::command {
  std::optional<Request> generate_request(
      const command::CommandLoader &command_loader,
      const irc::Message<irc::MessageType::Privmsg> &irc_message,
      pqxx::connection &conn);
}