!uptime costumized

Hi, is it possible to make a command (!uptime) where Nightbot says Streamer is live since …
If I use $(twitch username " uptimeAt or uptimeLength ") Nightbot says … is live with 60FPS, Family friendly…since …
This 60 FPS and the other things I dont want.
I have seen this How to customize uptimeAt parameter but if I translate it to german it dont work.
Thx for help

Hiya, you can specify the parameters that you want to show: https://docs.nightbot.tv/commands/variables/twitch
So for only the uptime date, simply use $(twitch $(channel) "{{uptimeAt}}").

Now you just need to add the text you want to display, 2 options:
!commands add !uptime Streamer is live since $(twitch $(channel) "{{uptimeAt}}")
!commands add !uptime $(twitch $(channel) "Streamer is live since {{uptimeAt}}")

You can ofcourse also use the {{uptimeLength}} parameter instead. The post you linked can be helpfull to change the date format.

1 Like

Okay thx, it worked!

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