New !followage command

this command is using a third party api… the api needs to be authorized to be able to provide the info… there is a link above where u will find all instructions

As tiwosslave said this is an external api to nightbot so you need to login to nightbot and this api.

Hi man, im trying to use this command, but it shows to me: “The moderator provided in the request is not logged into the application, please have them login to the application to use this command.” and im actually logged in the app

Whats your twitch username, the channel you are trying to add the command to, and what is the full command you added?

Keeps saying I must be logged in to use but I am logged in. What gives ?

please scroll up, this question has been asked before

Does anyone know how to translate it into Spanish?

i can help with that… i just need u to tell me what it currently says and what u would like it to say and the current command contents

The command is the !followage for Mods of this post

Currently says “USER” has been following “STREAMER” for 4 years, 10 months, 25 days, 1 hour.
I need you to translate the entire sentence.

ok so, i’m not fluent in spanish, so it might not be grammatically correct, but u should be able to see where to change it to fix it…

$(eval a=`$(urlfetch https://commands.garretcharp.com/twitch/followage/$(channel)/$(touser)?moderatorId=<id>&format=ymdh)`;a=a.replace(`has been following`,`ha estado siguiendo`);a=a.replace(` for`,` por`);a=a.replace(` year`,` año`);b=a.includes(` months`)?` mese`;` mes`;a=a.replace(` month`,b);a=a.replace(` day`,` dia`);a=a.replace(` hour`,` hora`);a)

and of course u need to change <id> to your actual moderator id

I am also having this issue…keeps telling me that i have to be signed in and yet i am. Can i go ahead and send you my information as well?

r u signed into both nightbot and the api at this link?

I logged in but obs still says I need to log in to use this application

can u share the command u’re using… minus any oauth tokens that might be there

edit: oops, nvm that… i thought this was a new thread… it’s telling u to sign into the api, not into obs or twitch or nightbot… u needa sign into the api so that it has permission to get that info from twitch (is a change twitch made so it needs permissions now)

Thanks for this, i don’t get this to work though, pasting it direct into nightbot app and removing the moderator portion. The command text for the first section comes out ok but the translation text just gets pasted as it is typed in the command.

i’m not entirely sure what u mean, can u give an example?

Hi, i copied your command and removed “moderatorId=< id >&” as i am pasting it direct into my nightbot account. When i run the command it errors.

The normal basic urlfetch command works by itself but adding the eval portion as per your post it errors for me. Appreciate your help, thanks :slight_smile:

what error r u getting?.. and did u keep the format portion?.. it should work if u have the same format and r signed into the api… only other thing i can think of is maybe a backtick got changed/removed somewhere along the line

It’s the same for me. Did you find a solution to this?

was there a solution to what?