diff options
| author | ilotterytea <iltsu@alright.party> | 2025-04-17 03:08:24 +0500 |
|---|---|---|
| committer | ilotterytea <iltsu@alright.party> | 2025-04-17 03:08:24 +0500 |
| commit | d65d392f8ef2ac10ec45974b09b275d7d99afbb6 (patch) | |
| tree | f6aa170279a3f92c1196aa322882415b5a429f6c /bot/src/github.hpp | |
| parent | d9427691e93a12f76a98b363aa424d4a2c40f262 (diff) | |
fix: github listener wasn't using the latest sql tables
Diffstat (limited to 'bot/src/github.hpp')
| -rw-r--r-- | bot/src/github.hpp | 11 |
1 files changed, 8 insertions, 3 deletions
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 <unordered_map> #include <vector> +#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 |
