I've got a stranage error and don't know what to do.
Aaris16

So, I was building a Discord bot in JavaScript. The bot was pretty long and had more than 1000 lignes of code. When running it after some time to see if everything's good, I got a strange error and my new commands that I added wouldn't work.
Here is the error:

(node:1452) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 message listeners added to [Client]. Use emitter.setMaxListeners() to increase limit

Would appreciate any help, thanks! ;)

You are viewing a single comment. View All
Answered by Coder100 [earned 5 cycles]
View Answer
Coder100

@naneandreimihne you made command lowercase so the equality will never be true.