diff options
| author | ilotterytea <iltsu@alright.party> | 2024-05-04 22:32:07 +0500 |
|---|---|---|
| committer | ilotterytea <iltsu@alright.party> | 2024-05-04 22:32:07 +0500 |
| commit | 832fab6c6e4d5ff051a33282b11ce5bcaeca7002 (patch) | |
| tree | dd4d00a45e1d82beae055ffa894862d5617a1a20 /src/stream.hpp | |
| parent | 35b546c4d5f39ba5100f385ae29d257f5b40e691 (diff) | |
feat: stream event handler
Diffstat (limited to 'src/stream.hpp')
| -rw-r--r-- | src/stream.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/stream.hpp b/src/stream.hpp index 687fc1e..7701cb3 100644 --- a/src/stream.hpp +++ b/src/stream.hpp @@ -28,6 +28,8 @@ namespace bot::stream { private: void run(); void check(); + void handler(const schemas::EventType &type, + const api::twitch::schemas::Stream &stream); const api::twitch::HelixClient &helix_client; irc::Client &irc_client; |
