Stream time command

Asked May 6, 2020·3 replies·Last activity 6 years ago·Open in Discord ↗
Archived from the original community forum
Things may have changed since it was written. Still stuck? Ask the community on Discord.

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!

3 replies

Hey @Whimsical Llama!

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...