Error command followsince

Asked Jul 4, 2020·5 replies·Last activity 6 years ago·Open in Discord ↗
Archived from the original community forum
Things may have changed since it was written. Still stuck? Ask the community on Discord.

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

5 replies

!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

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.

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?

This should work just fine. Likely there was an issue with the 2g.be servers at the time of testing.

Didn't find your answer? The community is on Discord.

Ask on Discord