Hi, I'm trying to set my !funfact command. I was looking at other posts about this topic but im not from the US and our pastebin website has different ulr.
The one I was trying is:
$(eval facts= "$(urlfetch json https://pastebin.com/raw/nSNNj5tA)".split(";"); facts[Math.floor(Math.random() * (facts.length - 1))])
but my website url is https://www.pastebin.cz/cs/p/mho65Xi , and when I replace it in the command nightbot replies with "Unexpected identifier 'cs' [<context>:1:36]"
Thanks for help