I have a discord music bot hosted on repl.it. Yesterday I was using my discord bot hosted on "repl.it" with 4 more people on a voice channel and the bot suddenly crashed.
It stopped playing the music and on the bot console there was an "exit error 1"
There was this on the console too:
(node:33) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 disconnect listeners added to [VoiceConnection]. Use emitter.setMaxListeners() to increase limit(Use `node --trace-warnings ...` to show where the warning was created)
The bot is using javascript to run.
How can I solve it? (I used a template to make the bot so I'm a little stupid at programming, so please explain it like you were explaining to a door)