I am trying to do a simple pastebin url fetch for an !affirmation commands that gives random affirmations. I am getting the 'Code generation from strings disallowed for this context' every time I enter in the command. Any suggestions?
$(eval a=$(urlfetch json https://pastebin.com/JjJuPB6R);a[Math.floor(Math.random()*a.length)])