title: Cannot read property 'includes' of undefined
body: <p>I am new to JavaScript, am I was trying to dissect an embedded message. Here's my code, it runs fine for a few mins, works accordingly but idk what goes wrong.</p>
  
  <pre class="lang-js prettyprint-override"><code>bot.on('message', (message) =&gt; {
    for (var i = 0; i &lt; message.embeds.length; i++) {
      if (message.embeds[i].title.includes("text!")) {
        message.channel.send('reply')
      }
    }
  })
  </code></pre>