Skip to content
Advertisement

Discord bot not responding/reacting to anything (JS)

So I am new to the world of discord bots and wanted to try myself on this new challenge. I got the foundation running after watching a few tutorials and reading a few posts but now my problem is that the bot doesn’t react to anything after starting up…

JavaScript

All it does is displaying: ‘Ready!’ in the console. After that, it doesn’t react to anything anymore. Not on discord and not in the console.

Advertisement

Answer

It might be because you set up Intents the wrong way.

Try and replace:

JavaScript

with:

JavaScript

Also, use messageCreate instead of message

Advertisement