From d65d392f8ef2ac10ec45974b09b275d7d99afbb6 Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Thu, 17 Apr 2025 03:08:24 +0500 Subject: fix: github listener wasn't using the latest sql tables --- bot/src/github.hpp | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'bot/src/github.hpp') diff --git a/bot/src/github.hpp b/bot/src/github.hpp index 8014706..3424e85 100644 --- a/bot/src/github.hpp +++ b/bot/src/github.hpp @@ -4,6 +4,7 @@ #include #include +#include "api/twitch/helix_client.hpp" #include "config.hpp" #include "irc/client.hpp" @@ -17,9 +18,12 @@ namespace bot { class GithubListener { public: GithubListener(const Configuration &configuration, - irc::Client &irc_client) - : configuration(configuration), irc_client(irc_client){}; - ~GithubListener(){}; + irc::Client &irc_client, + const api::twitch::HelixClient &helix_client) + : configuration(configuration), + irc_client(irc_client), + helix_client(helix_client) {}; + ~GithubListener() {}; void run(); @@ -35,5 +39,6 @@ namespace bot { irc::Client &irc_client; const Configuration &configuration; + const api::twitch::HelixClient &helix_client; }; } \ No newline at end of file -- cgit v1.2.3