title: Discord.JS RichEmbed Building
body: <p>fellow Developers!  I've been having a ton of issue over the past couple hours with Discord.JS's embedding technique.  I keep getting:</p>
  
  <blockquote>
    <p>TypeError: Cannot read property 'client' of undefined
        at new MessageEmbed (folder\node_modules\discord.js\src\structures\MessageEmbed.js:13:60)
        at embed (folder\rlxob.js:17:13)
        at Client.client.on.message(folder\rlxob.js:193:15)</p>
  </blockquote>
  
  <p>And from what I understand, the rest beyond that doesn't matter, but <a href="https://gyazo.com/eb092c0975e8b32ba4c81631d3724586" rel="nofollow noreferrer">here's a Gyazo image</a> if you want to see the entire output.  MessageEmbed.js line 13 says <code>Object.defineProperty(this, 'client', { value: message.client });</code> which is leaving me a bit confused.  It seems to expect the <code>message</code> variable to already be defined in <code>class MessageEmbed {constructor (message, data) {</code> but my code matches up with every single tutorial on message embedding that I have checked, double-checked, and gonna find out who's naughty or nice.  And this piece of... well, I have no nice words to say, so I won't say any of them.  To leave you with a few bits of information that might help, <code>node</code> is running on version <code>8.9.4</code> and <code>Discord.JS</code> is running on version <code>11.2.1</code>.  This is really getting on my nerves, there isn't a clear answer that I can figure out.  Thanks for the help, guys!  If you need any new information, I'll be checking back here.  If I don't reply, probably means I figured it out, however unlikely that may be.</p>