I copy and pasted this code from a tut for auto responses for Nightbot and i’m getting the Unexpected Identifier message back in Twitch chat. I asked some people and they said it looks right but i’m getting these results. Can anyone double check if i’m missing a ; somewhere that I most likely missed? I’d really appreciate it.
$(user), $(eval a=“$(urlfetch json https://pastebin.com/raw/umFCryTd)”.split (“;”); a[Math.floor(Math.random()*a.length)])