title: How can i read embed data discord.js
body: <p>iam trying to make my bot <strong>read the complete data in a embed</strong>
  and i do want my bot to <em>send the data in the exact format as the original and inside a embed</em>
  can anyone help me please</p>
  <pre><code>  bot.on(&quot;message&quot;, msg =&gt; {
        if(msg.embed){
           msg.channel.send(msg.embed.content)
        }
       
       });
  </code></pre>
  <p>When i try the above code it says can not read content of undefined</p>
  <p>I am a beginner so if i made any mistakes please help me</p>