I've got a stranage error and don't know what to do.
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 added a
client.on function for every single command. That isn't allowed -- you should only have one.
Put all your code inside one client.on like this: