summaryrefslogtreecommitdiff
path: root/src/commands/request_util.hpp
blob: 3d9831d8dbb3ce5d7ed9bfb96cc92f049d97268e (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,
      const pqxx::work &work);
}