title: Discord Bot send a message when the user says a word in a sentence
body: <pre><code>const Discord = require('discord.js');
  const bot = new Discord.Client();
  
  bot.on('message', (message) =&gt; {
      if(message.content == 'ping') {
          message.reply('Pong');
      }
  });
  
  bot.login('my token is here');
  </code></pre>
  
  <p>I want my bot to say something when the user says something that contains 'server IP' 
  I currently have this code, but it only replies when I send 'ping', how can I make it where it detects when the word 'ping' is in the sentence?</p>