I am trying to setup a fun fact command, I have tried for numerous hours and it will not give me any of the facts. I am not sure if it's the copy and pasted pastebin or if it is something I am doing wrong on the command.
Every variation I try creating the command I get undefined/Unexpected error/Response limit must be under 400 characters or a unexpected token ("split")
This is the command I am trying to use any help would be appreciated 🙂
$(eval a=$(urlfetch json https://pastebin.com/raw/1xT318F5).split(,);a[Math.floor(Math.random()*a.length)])