summaryrefslogtreecommitdiff
path: root/bot/src/handlers.hpp
blob: f136fa186e0df9ae57de2d5353d86535f2b7c24d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#pragma once

#include "bundle.hpp"
#include "commands/command.hpp"
#include "irc/message.hpp"

namespace bot::handlers {
  void handle_private_message(
      const InstanceBundle &bundle, command::CommandLoader &command_loader,
      const irc::Message<irc::MessageType::Privmsg> &message);

  void make_markov_response(
      const InstanceBundle &bundle,
      const irc::Message<irc::MessageType::Privmsg> &message,
      const schemas::Channel &channel,
      const schemas::ChannelPreferences &preference);
}