So a few years back I got help to make this command called !puns, basically it just picks a random one from a Pastebin and it used to be fine and work and all was good. However, I added some new things to the list and now only comes back as “unexpected identifier”.
The API is as follows:
$(eval pun=’$(urlfetch json https://pastebin.com/raw/vCnLsWkA)’.split(’*’);pun[Math.floor(Math.random()*pun.length)])
I can’t tell you what everything does as I got help but if anyone can help get it working again it would be appreciated.