title: Discord Bot - MessageEmbed
body: <p>I am very new to javascript and I don't understand a lot of the actual code.
  However, I have one query, how can I make the &quot;cahbResponses&quot; appear in a MessageEmbed?
  I've looked at the literature on MessageEmbeds from the Discord JS guides but I still have no clue.</p>
  <p>The code I am working on is:</p>
  <pre class="lang-js prettyprint-override"><code>client.on('message', function(message) {
   if (message.author.bot) return;
   if (!message.content.startsWith(prefix)) return;
   var args = message.content.substring('!'.length).split(' ');
   switch (args[0].toLowerCase()) {
    case 'cahb':
     var response =
      cahbResponses[Math.floor(Math.random() * cahbResponses.length)];
  
     message.channel
      .send(response)
      .then()
      .catch(console.error);
     break;
    default:
     break;
   }
  });
  </code></pre>