DiscordTickets
DiscordTickets copied to clipboard
Error Adding to my own bot
I added all ur open source code to my bot and I get a error
On Replit
ERROR CODE
/home/runner/DiscordAIO-1/src/loader.js:13 client.on(file.split('.')[0], event.bind(null, client)); ^
TypeError: event.bind is not a function
at Object.
Hmm. You have NodeJS 16, and DJS 13?
I added all ur open source code to my bot and I get a error
On Replit
Replit wont support NodeJS 16 at the moment but i found something that might help you https://github.com/RLX-OP/node.js-v16-replit