Stream time command

Heya!.Im gonna ask with whic code i can make like “… is on stream for . hours … minutes … seconds.” can you gus-ys send me a copy paste able code and tell me how could i do that.Thanks!

Hey @Mustafa_Armagan!

On Twitch:

 !addcom !uptime Stream uptime: $(twitch $(channel) "{{uptimeLength}}")

On Youtube and Mixer:
This isn’t possible at the moment, sorry.

Are you sure? Is it only on NigthBot or its for all the youtube?

There might be independent API to get the amount of time a Youtube stream has been live, in which case you could use $(urlfetch) with Nightbot, but as far as I know, Youtube’s API doesn’t offer an “uptime” endpoint on live streams, that’s one of the reasons why we don’t have a $(youtube) variable for now…

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.