#Invalid shorthand property initializer
1 messages · Page 1 of 1 (latest)
Invalid shorthand property initializer
@modern pawn do I change all my = to :?
events.forEach((f, i) => {
if (reload)
delete require.cache[require.resolve(`../events/${f}`)]
const events = require(`../events/${f}`)
client.events.set(event.name, event)
if (!reload)
console.log(`${i + 1}. ${f} loaded`)
})```
I think this would a place where I would change it
I believe so
Alright, if you could go through my code to check everywhere I need to place that would be helpful 🙂
Im not very good with javascript errors and finding them + my method of debugging is probably different to yours
@hollow tinsel Had your issue been resolved?
Yeah, thanks for the help