API, twitch age and how long someones been in my stream

I’ve been looking around the internet, I cant seem to find the api for how long someones been in my stream and their twitch account age, like when they created their account. The commands for these are typically !howlong and !time.

!commands add !howlong $(urlfetch https://2g.be/twitch/following.php?user=$(querystring $(touser))&channel=$(querystring $(channel))&format=mwdhms)

!commands add !time $(twitch $(touser) "{{displayName}} has been on Twitch for {{createdLength}}")
1 Like

Nightbot is not capable of measuring the amount of time a user has spent in your channel.

I imagine they have a bot that sits in their chat and keeps track of when chatters join and leave the chat. This means that it’s not possible to determine how long a user has spent in that chat before the bot began keeping track.

You will have to find a bot that offers that feature.

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