I’m making a discord bot that sends a message when a specified channel is online. I haven’t found any thing on this yet.
The Get Streams endpoint returns data on channels that are online, so if you want to see if a specific channel is live you’d specify that channel in the params and if a stream object is returned then they are live, otherwise they’re offline.
Alternatively you could use EventSub, and subscribe to the
stream.online type for the channel and receive a notification from Twitch when that channel goes live.
Here is a whole/complete example and/or product to use
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.