How to make a stream length command

Hi I was wondering how to make a command to show how long my live stream has been running for. All help apriciated

You can use the built-in $(twitch) variable to show your stream’s uptime, try this: (no need to replace anything, just copy/paste)

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

Thanks @Stoupedog does this also work with youtube?

No, the $(twitch) variable only works on twitch. There is no similar variable for youtube currently.

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