Base a $(countup) on a users follow time

Asked Sep 16, 2021·1 reply·Last activity 4 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.

Hello,

I am trying to create a countup-command that is supposed to be based on a certain users follow-time. Is it possible to fetch a users following time and add it to the countup-command?

I cant manage to do it. Basically it is a !followage but it will be based one specified user and not the one writing it.

1 reply

Since !followage command is already a countup for following.

You can use $(user) to the poster or $(touser) to the one who typed the !followage

Alternatively you can use the following API:

$(urlfetch https://decapi.me/twitch/followage/$(channel)/$(touser)?precision=7).