Longevity commands?

Yes, you can replicate those commands with Nightbot by making use of the $(twitch) variable and custom api’s

This can be achieved using the built-in $(twitch) variable:
!commands add !channelage Minakie has been sharing Stars for $(twitch Minakie "{{createdLength}}")

This will return the date a viewer a viewer followed you:
!commands add !followsince $(urlfetch https://2g.be/twitch/following.php?user=$(touser)&channel=Minakie)

Alternatively, you could use this which will return how long a viewer has been following you:
!commands add !followage $(urlfetch https://api.rtainc.co/twitch/channels/Minakie/followers/$(touser)?format=[1]+has+been+following+[0]+for+[2])

You can find out more about using custom api’s here and here :+1:
Hope this helped!

2 Likes