!subage command

Hello, I mod for a stream and I created the command !subage using

!commands add !subage $(urlfetch https://decapi.me/twitch/subage/$(channel)/$(user))

and its not adding up right. I understand its not gonna add up to twitch’s anniversary date. For example I have been Subbed to the person i mod for 3 months almost for but when I type !subage I get “you have been subbed for 2months and 2weeks” and its like this for alot of people, some have been subbed for a year and it says 8 moths. Is there a way to fix it? Do I need a diffrent api?

Please check the documentation, there is not much to be fixed, this is the only data available from Twitch: https://docs.decapi.me/twitch?endpoint=subage%2F%3Achannel%2F%3Auser

Thank you so much!!!

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