trouble with a followage command it will work a few time then this message will display “Error connecting to remote server”
the code i use is this one:
$(urlfetch https://2g.be/twitch/following.php?user=$(touser)&channel=$(channel)&format=mwdhms )
i was thinking about adding a cooldown
!addcom !followage $(touser) Has been following since $(urlfetch https://decapi.me/twitch/followage/:channel/$(user))
Replace “:channel” with your channel name, all lowercase letters, if you want to add a cooldown, add -cd=
number of seconds to the end of command
1 Like
thank you and also do you know the decapi random viewer code ?
$(urlfetch https://decapi.me/twitch/random_user/:channel)
You can find the DecAPI stuff at the DecAPI docs .
1 Like
No, $(channel) should work just fine as it simply returns the channel. This is the preferred method of returning the channel. Perhaps the user changes their username?
1 Like
This should work just fine. Likely there was an issue with the 2g.be servers at the time of testing.
system
Closed
July 19, 2020, 4:35am
7
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.