bartosjiri / twitch-lurker-bot

A script for joining multiple Twitch channels with a provided user account
41 stars 14 forks source link

add a live check #9

Open maxcamorra opened 2 years ago

maxcamorra commented 2 years ago

It would be awesome if you could add a check if the streamer is live and only then joins the chat.

bartosjiri commented 2 years ago

Hey @maxcamorra, could you please further explain what would be the use case for this?

Zenith727 commented 2 years ago

hes mean when the streamer go live log in the console say that the streamer is live right now and say it offline 1 when the streamer turn off the stream ig

bartosjiri commented 2 years ago

hes mean when the streamer go live log in the console say that the streamer is live right now and say it offline 1 when the streamer turn off the stream ig

I assume they want to join the channel chat only once the broadcast is live, not on the startup of the script.

Based on tmi.js's events, I don't believe any of your proposed features are possible solely with this library. PRs implementing this using different libraries or completely swapping out tmi.js are welcome though!