title: discord.js send and wait before editing a message
body: <p>I want my bot, to send <code>my emotes</code>, wait 1 seconds and edit the message to <code>my others emotes</code>.  </p>
  
  <p>Here's my code :   </p>
  
  <pre><code>message.channel.send('my emotes')
    .then((msg) =&gt; {
      setTimeout(function() {
      msg.edit('my other emotes');
    }, 1000)});  
  </code></pre>
  
  <p>And he send me this error : <code>Cannot read property 'edit' of undefined</code>  </p>
  
  <p>Thanks you for helping me.</p>