How to ensure that's messages actually subscribed from a channel?
AbstractiveNord opened this issue · 3 comments
Literally, how to check that's connect to channel is successful and messages comes in?
This function should cover your use case?
https://docs.rs/twitch-irc/latest/twitch_irc/client/struct.TwitchIRCClient.html#method.get_channel_status
There‘s currently no event dispatched when a status changes. If that‘s what you‘re requesting, you can make a feature request issue for it.
This function should cover your use case? https://docs.rs/twitch-irc/latest/twitch_irc/client/struct.TwitchIRCClient.html#method.get_channel_status
There‘s currently no event dispatched when a status changes. If that‘s what you‘re requesting, you can make a feature request issue for it.
Yeah, that function should be exactly what I need. I've solved my case by using JOIN message listener. Thanks for answer!
Received JOIN and PART messages are what influence the second boolean returned, but it‘s additionally also reset to false while the connection in the pool reconnects, fyi.