Followsince command

I got the command on twitch but how can I set it up so that people don’t have to input their user name and automatically does it?

I use the following to get followsince/followage without the user putting in anything other than the command:

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

You can also put a username after the command to get anyones information, the response from the above is:

[username] has been following [streamer] for 1 year, 4 months, 1 week, 2 days, 12 hours, 13 minutes, 28 seconds

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