title: Discord.js Can't Check 'lastMessage.content'
body: <pre><code>function broadcast() {
    client.guilds.cache.forEach(g =&gt; {
      g.channels.cache.find(c =&gt; c.name === 'chat' &amp;&amp; c.lastMessage.content !== 'test').send('test')
      })
  };
  
  setInterval(broadcast, 3000);
  </code></pre>
  <p>This code doesn't work. If you don't understand, I'm trying to get all channels named 'chat' and by the way the last message is not the broadcast message, then send a message to the channel.</p>
  <pre><code>2020-07-09T13:33:43.715482+00:00 app[worker.1]:  
      c.lastMessage.content !== 'test'
  2020-07-09T13:33:43.715483+00:00 app[worker.1]:                           ^
  2020-07-09T13:33:43.715483+00:00 app[worker.1]: 
  2020-07-09T13:33:43.715484+00:00 app[worker.1]: TypeError: Cannot read property 'content' of undefined
  2020-07-09T13:33:43.715484+00:00 app[worker.1]:     at /app/events/ready.js:22:27
  2020-07-09T13:33:43.715485+00:00 app[worker.1]:     at Map.find (/app/node_modules/@discordjs/collection/dist/index.js:160:17)
  2020-07-09T13:33:43.715486+00:00 app[worker.1]:     at /app/events/ready.js:20:28
  2020-07-09T13:33:43.715486+00:00 app[worker.1]:     at Map.forEach (&lt;anonymous&gt;)
  2020-07-09T13:33:43.715486+00:00 app[worker.1]:     at Timeout.broadcast [as _onTimeout] (/app/events/ready.js:19:29)
  2020-07-09T13:33:43.715487+00:00 app[worker.1]:     at listOnTimeout (internal/timers.js:549:17)
  2020-07-09T13:33:43.715487+00:00 app[worker.1]:     at processTimers (internal/timers.js:492:7)
  </code></pre>
  <p>This is the error that I get.</p>