My bot not response to my commands

Everything ok but bot not response to any cmds and no error in logs

Hi Yashraj,

In your main file, I guess index.js, you have a handler for message but it doesn’t do anything. It extracts the command from the message but doesn’t send a response.

I see you’ve imported the announce command, and I’m not a Discord expert, but I think you need to call that module from your on('message') handler.


Tysm its working

1 Like