Hi, I have currently written a custom API random Tarot Card generator, and I have used the template for the !8ball command. Here it is:
!commands add !tarot You drew $(eval const responses = [‘The Fool!’, ‘The Magician!’, ’The High Priestess!’, ‘The Empress!’, ‘The Emperor!’, ‘The Hierophant!’, ‘The Lovers!’, ’The Chariot!’, ‘Justice!’, ’Strength!’, ‘The Hermit!’, ‘Wheel of Fortune!’, ’The Hanged Man!’, ‘Death!’, ‘Temperance!’, ‘The Devil!’, ‘The Tower!’, ‘The Star!’, ‘The Moon!’, ‘The Sun!’, ‘Judgement!’, ‘The World!’]; responses[Math.floor(Math.random() * responses.length)];)
When I test the command in my chat it says "invalid or unexpected token"
Is there something wrong in the HTML that I did wrong that's causing it to glitch? Let me know if there are any solutions to this problem.