title: Discord bot not reading message.content
body: <p>My bot is not reading the Discord chat. I want it to read the chat and if it finds certain words it will give a certain response. This is my current message event code. This is my first JavaScript project and I have just started learning it so please rip it apart so I can learn quicker :)</p>
  <p>At the moment I can get the bot to load into discord. I can turn it on with .node but I can not get it to read a message using message.content.</p>
  <pre><code>const Discord = require(&quot;discord.js&quot;);
  const client = new Discord.Client({ intents: [&quot;GUILD_MESSAGES&quot;, &quot;DIRECT_MESSAGES&quot;] }); 
  
  
  var name = &quot;Poker Bot&quot;;
  var usersHand
  let firstCardValue  
  let secondCardValue
  let firstCardSuit
  let secondCardSuit 
  
  
  //starts the bot and sets activity to a funny quote. it also will give a command prompt notification that the
  // bot is online
  
  client.on(&quot;ready&quot;, () =&gt; {
      console.log(`Bot is online: ${name} !`);
      client.user.setActivity('Burning The Fucking Casino Down');
  });
      //check discord chat to see if a user has posted.
  client.on(&quot;messageCreate&quot;, message =&gt; {
     //console.log is there to test user input. If it works the message in the discord channel will appear in console
      console.log(`The user has said: ${message} `);
  
  //look for poker hand ~~~ position ~~~~ event (ex: AA CO PF )     (PF= PreFlop)
  
  
  if (message.content.toLowerCase == 'AK' || message.content.toLowerCase == 'AA' || message.content.toLowerCase == 'KK'){
  
      message.reply(&quot;RECOMMENDED PLAY SHOVE: ALL IN&quot;)
  }
  </code></pre>