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


#1

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.


#2
!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}}")

#5

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


#7

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.


#9

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


#10

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