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 !