From 854e052b3a75bd4f77dd404341ea5c1070a2009c Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Sun, 21 Apr 2024 16:33:23 +0500 Subject: feat: join() method --- src/irc/client.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/irc/client.hpp') diff --git a/src/irc/client.hpp b/src/irc/client.hpp index 0194750..2598550 100644 --- a/src/irc/client.hpp +++ b/src/irc/client.hpp @@ -16,6 +16,7 @@ namespace bot { void run(); + bool join(const std::string &channel_login); void raw(const std::string &raw_message); template @@ -43,6 +44,8 @@ namespace bot { bool is_connected = false; std::vector pool; + std::vector joined_channels; + // Message handlers typename MessageHandler::fn onPrivmsg; }; -- cgit v1.2.3