This is a little confusing so I've included a screenshot of my issue in hopes that someone can help me find a resolution. I'll also be pasting the code that I have as well.
I've added an !8ball command that offers different responses when asked. I'll get a response from Nighbot and also a response from "myself" in the chat as well. Is there a fix to removing "myself" from responding to the command?
I'm not very familiar with commands and the coding that goes into it, so any step by step or photos would be helpful!
$(eval const responses = [ 'Yes! pepeDS ', 'My sources say nope. NOPIES ', 'Absolutely not. Deadcat', 'Concentrate and ask again... WeSmart', 'Shruggies', 'It is decidedly so!', 'choisanWINK', 'Very doubtful.', 'Yes - Definitely!', 'Duckpls', 'Most likely.', 'Ask again later. LurkCat', 'No!', 'ThumbsUp', 'Don\'t count on it.'];'$(querystring)'.trim() == '' ? 'Ask a question first' : responses[Math.floor(Math.random() * responses.length)];)