Cuddly GoatOriginal postApr 9, 2022When I write this in nightbot!addcom @member $(eval const responses = ['خيير؟’,’عييون البوت’,’هلا؟’,’ازعجتني يالمزعج’,’آمر وش بغيت’,’شنو فيه؟’,’تفضل’]; responses[Math.floor(Math.random() * responses.length)]; )It says Invalid or unexpected token
Polar CatApr 9, 2022Hey @Cuddly Goat!That's because some of your quote symbols are in fact apostrophes: ’ instead of '.$(eval const responses = ['خيير؟','عييون البوت','هلا؟','ازعجتني يالمزعج','آمر وش بغيت','شنو فيه؟','تفضل']; responses[Math.floor(Math.random() * responses.length)]; )