Teak’s !HowLong Following Nightbot Command


#47

TURNS OUT if you just post this it works perfect i was doing as stated and changing username when infact this works $(urlfetch https://2g.be/twitch/following.php?user=$(touser)&channel=$(channel)&format=monthday)


#48

Tried all these and it wasn’t working. Finally got it to WORK!! This works for sure guys just copy this and put it in your chat, real talk. All you need to do is change TWITCHUSERNAME with the Twitch Channel you are wanting the command in. Here’s what you copy… !addcom -ul=mod !howlong $(customapi https://api.rtainc.co/twitch/channels/TWITCHUSERNAME/followers/ $(touser))


#50

THANK YOU! THIS WORKED AND THE STUFF ABOVE DID NOT! I dont know why it didn’t work, but the api in this article did not work.


#51

Anyway to have the following command ignore the @ symbol when typing someone’s name to be checked on how long they have been following (i.e. “!howlong @username”). If not, I understand, the command is awesome that it just understands to use the command issuers name if no name is provided.


#52

How create command, which shows how long viewer has been following to my channel and so that it outputs not 2017/02/06, but 1 years 2 month.
When i use this link https://apis.rtainc.co/twitchbot/following?channel=$(touser)&user=$(touser)) as a result output i have : Please update this API to: https://api.rtainc.co/twitch/channels/CHANNEL/followers/VIEWER?format=[2].
Please tell me what i do wrong and how to do it correctly


#53

This will output what you’re looking for:

!commands add !followage $(touser) has been following $(channel) for $(urlfetch https://api.rtainc.co/twitch/channels/$(channel)/followers/$(touser)?format=[2])


#54

This is what i get when using the command. Please help. I’ve tried the first command but i wanted to keep it in the text form n not numbers.


#55

The main command in this post is no longer maintained please use this post instead.


#57

What type of command does this have to do?


#58

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

Simply copy and paste this in your chat to add the command.


#59

Command don’t work.
Error connecting to remote server.


#60

Make sure you don’t already have a !followsince command on your channel using a different api by typing !commands delete !followsince

Then try and copy-paste the command I posted above into your chat and it should work.