8Ball Command: > !commands add !8ball 🎱 $(eval const responses = ['All signs point to yes...', 'Yes!', 'My sources say nope.', 'You may rely on it.', 'Concentrate and ask again...', 'Outlook not so good...', 'It is decidedly so!', 'Better not tell you.', 'Very doubtful.', 'Yes - Definitely!', 'It is certain!', 'Most likely.', 'Ask again later.', 'No!', 'Outlook good.', 'Don\'t count on it.']; responses[Math.floor(Math.random() * responses.length)];)
In your example your loading a urlfetch of a pastebin, so Nightbot will replace this plain text into your command. If you have this urlfetch inside of another eval then your going to run into an issue running var rawText = $(urlfetch as that is not valid javascript syntax. What your attempting to do is far beyond what Nightbot's parsing handles. Additionally any sort of AI generated code usually won't work due to its hallucinations, Nightbot.say() doesn't exist.