How do I create an uptime command using nightbot on a YouTube Livestream chat?
I have tried the following codes but both showed an output that said [invalid variable]
!commands add !uptime $(youtube $(channelname) "{{displayName}} has been live for {{uptimeLength}}")
$(youtube $(channel) "Stream uptime: {{uptimeLength}}")