I been wanting to create a random fact command with the command
!addcom -cd=5 !facts $(eval a=$(urlfetch json https://pastebin.com/GrPQrkAJ);a[Math.floor(Math.random()*a.length)])
but every time I enter !facts Nightbot says “Right-hand side of ‘instanceof’ is not an object” and I was wondering what I am doing wrong.