title: Discord.js - how do I edit message.embed() statements?
body: <p>I am making a ping command -
  It is very simple to code, but I haven't got the slightest idea how to edit the embed I'm using. Here is my code - I'm using a command handler explaining the exports.run statement.</p>
  <pre class="lang-js prettyprint-override"><code>const Discord = require('discord.js')
  
  exports.run = (bot, message, args) =&gt; {  
  const pingUpdate = new Discord.MessageEmbed()
  .setColor('#0099ff')
  .setDescription('pinging...')
  message.channel.send(pingUpdate);
  }
  
  exports.help = {
    name: 'ping'
  }
  </code></pre>
  <p>I need to edit the ping update embed to make the .description edit to perform this (simple ping calculation)</p>
  <pre><code>message.channel.send('pinging...').then((m) =&gt; m.edit(`${m.createdTimestamp - message.createdTimestamp}ms`))
  </code></pre>
  <p>This would make the description change from 'pinging...' to '<em>exampleping</em>ms'</p>
  <p>Thank you in advance</p>