title: Discord JS 12.5.3 messageUpdate have trouble
body: <p>i added messageUpdate for my bot's modlogs like this:</p>
  <pre><code>c.on(&quot;messageUpdate&quot;, function(oldMessage, newMessage) {
        if (oldMessage.channel.type !== &quot;text&quot;) return;
        if (newMessage.channel.type !== &quot;text&quot;) return;
  
        if (oldMessage.content === newMessage.content) return;
        send_log(
          c,
          oldMessage.guild,
          &quot;YELLOW&quot;,
          &quot;Message UPDATED&quot;,
          `
  **Author : ** &lt;@${newMessage.author.id}&gt;
  **Date : ** &lt;t:${parseInt(newMessage.createdTimestamp / 1000)}:R&gt;
  **Channel : ** &lt;#${newMessage.channel.id}&gt;
  **Orignal Message : **
  \`\`\`
  ${oldMessage.content.replace(/`/g, &quot;'&quot;)}
  \`\`\`
  **Updated Message : **
  \`\`\`
  ${newMessage.content.replace(/`/g, &quot;'&quot;)}
  \`\`\``
        );
      });
  </code></pre>
  <p>it worked fine for a few minutes: <a href="https://i.stack.imgur.com/poYGY.png" rel="nofollow noreferrer">output image</a></p>
  <p>then my bot got into exit status 1 because of this:</p>
  <pre><code>**Author : ** &lt;@${newMessage.author.id}&gt;
                                      ^
  
  TypeError: Cannot read property 'id' of null
      at Client.&lt;anonymous&gt; (/home/runner/hibikibanmai-bot/events/client/logger.js:286:37)
  </code></pre>