summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorilotterytea <iltsu@alright.party>2024-05-04 20:11:06 +0500
committerilotterytea <iltsu@alright.party>2024-05-04 20:11:06 +0500
commit35b546c4d5f39ba5100f385ae29d257f5b40e691 (patch)
treec8e337ccbc8845e4edcdebb0d5043805200db69d /src/main.cpp
parent62f5ce81f0310ace9da005872b3b91467523562a (diff)
upd: StreamListenerClient requires now IRC client and Configuration
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 20823ba..3fbf024 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -62,7 +62,8 @@ int main(int argc, char *argv[]) {
bot::api::twitch::HelixClient helix_client(cfg.bot_password,
cfg.bot_client_id);
- bot::stream::StreamListenerClient stream_listener_client(helix_client);
+ bot::stream::StreamListenerClient stream_listener_client(helix_client, client,
+ cfg);
client.on<bot::irc::MessageType::Privmsg>(
[&client, &command_loader, &localization, &cfg, &helix_client](