From e23ccfb00c8fa39926b32e94be6bc379e70ba11d Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Thu, 3 Jul 2025 18:05:11 +0500 Subject: feat: separated requester from request --- bot/src/irc/client.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bot/src/irc/client.cpp') diff --git a/bot/src/irc/client.cpp b/bot/src/irc/client.cpp index 06b7a03..4f8fe6c 100644 --- a/bot/src/irc/client.cpp +++ b/bot/src/irc/client.cpp @@ -50,7 +50,7 @@ void Client::run() { [this](const ix::WebSocketMessagePtr &msg) { switch (msg->type) { case ix::WebSocketMessageType::Message: { - log::debug("IRC", "Received message: " + msg->str); + log::info("IRC", "Received message: " + msg->str); std::vector lines = utils::string::split_text(msg->str, '\n'); @@ -120,7 +120,7 @@ void Client::run() { void Client::say(const std::string &channel_login, const std::string &message) { this->raw("PRIVMSG #" + channel_login + " :" + message); - log::debug("IRC", "Sent '" + message + "' in #" + channel_login); + log::info("IRC", "Sent '" + message + "' in #" + channel_login); } bool Client::join(const std::string &channel_login) { -- cgit v1.2.3