This page shows how to call the command handler to make commands actually work
We want to do other things in the Message event
// `client` is our Discord.js Client// `commands` is our djs-commands-control Commands objectclient.on("message", (message) => {// Do some stuff// Call the command handlercommands.messageEvent(message);// Do some more other stuff});
We only want to call the command handler
// `client` is our Discord.js Client// `commands` is our djs-commands-control Commands objectclient.on("message",commands.messageEvent);