title: messagecreate dont working with discord.js
body: <p>i don't know why but my code dont work without any error:</p>
  <pre><code>    const Discord = require(&quot;discord.js&quot;);
  const client = new Discord.Client({ intents: [ 'DIRECT_MESSAGES', 'GUILD_MESSAGES' ] });
  
  client.on(&quot;ready&quot;, () =&gt; {
      console.log(&quot;ready&quot;);
  });
  
  client.on(&quot;messageCreate&quot;, (message) =&gt; {
      if (message.content.endsWith(&quot;quoi&quot;)) {
          message.channel.send(&quot;feur&quot;);
      };
  
      console.log(&quot;message&quot;);
  });
  </code></pre>