I got sick and tired of seeing posts on here saying that Nightbot didn't keep track of user watchtimes....ofc it doesn't but TWITCH does and all one has to do is access the info. SO HERE'S THE SEQUENCE
$(user) has spent $(urlfetch ht tps://2g.be/twitch/following.php?user= $(touser) &channel=$(channel) &format=mwdhms) hours watching $(channel)...
(no space in the https, only put there to keep from being a link to no where)
Unfortunately I can only take credit for finding the format, the og poster is at this site (ht tps://consoleshub.com/twitch/eh7o)