summaryrefslogtreecommitdiff
path: root/src/handlers.hpp
diff options
context:
space:
mode:
authorilotterytea <iltsu@alright.party>2024-04-21 18:00:16 +0500
committerilotterytea <iltsu@alright.party>2024-04-21 18:00:16 +0500
commit20911c0cfbe608cc6188cfa27e4f953632a3ef29 (patch)
tree29410091d1c03e1977220fd43d9b7757df73f2c0 /src/handlers.hpp
parente72ff42203f59b0dc39b9f65f79716a4f61bacac (diff)
feat: handler for chat messages
Diffstat (limited to 'src/handlers.hpp')
-rw-r--r--src/handlers.hpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/handlers.hpp b/src/handlers.hpp
new file mode 100644
index 0000000..ed74551
--- /dev/null
+++ b/src/handlers.hpp
@@ -0,0 +1,12 @@
+#pragma once
+
+#include "bundle.hpp"
+#include "commands/command.hpp"
+#include "irc/message.hpp"
+
+namespace bot::handlers {
+ void handle_private_message(
+ const InstanceBundle &bundle,
+ const command::CommandLoader &command_loader,
+ const irc::Message<irc::MessageType::Privmsg> &message);
+}