title: Get last message from text channel with discord.js
body: <p>I feel like all my research on this topic lead me only to outdated solutions.</p>
  <p>With my Discord.js bot, I have a command. For it to work I need to get the last message in a channel right before the command. I am struggling with all those fetches and partials and cache etc.</p>
  <p>Sometimes it works when I post the message right after my bot started and use the command on it, but if I restart my bot it seems to get the wrong message. Also, what about messages that are older than 14 days?</p>
  <p>I can't really provide code because it's just one line, like:</p>
  <p><code>const message = msg.channel.messages. ...</code></p>