Urlfetch Json doesn't work anymore

Hello !

It looks like my command

/me - $(eval a=$(urlfetch json URL_OF_MY_JSON);a[Math.floor(Math.random()*a.length)])

doesn’t work today. It seems to work sometime but most of the time I get “unexpected identifier”.

I looked into my server logs and I don’t get any visit from nightbot when I get “unexpected identifier”. I tried to host the json on pastebin and I still get the error so it probably not on my end.

Any idea ? It used to work well.

Thanks a lot !

I think nightbots eval() is not working at the moment.

Looks like it works again !

Thank you for your answer heskeylane :slight_smile:

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