I'm new to nightbot and i'm trying to set up a few multi thread responses for a command (using pastebin.com)
One example was having people spam "can i join" so i wanted to set up that nightbot picks that up and will send out one of a few different responses.
Here is what i have so far, with the command being labelled as can i join:
$(can i join $(query) ).$(user), $(eval a="$(urlfetch json https://pastebin.com/raw/XXXXX".split(";");a[Math.floor(Math.random()*a.length)])
I have currently removed my "special code" for XXXXX, but have the correct one copied and pasted in my command code.
but when I go to use it in chat nothing happens?
Can someone please help me with wth i'm doing wrong, my brain hurts..