title: Discord Slash Command: Error while sending Embeds
body: <p>I was creating a slash command for my bot. So I tried this</p>
  <pre class="lang-js prettyprint-override"><code>Client.ws.on('INTERACTION_CREATE', async interaction =&gt; {
      Client.api.interactions(interaction.id, interaction.token).callback.post({data: {
          type: 4,
          data: {
              content: 'hello world!'
          }
      }})
  })
  </code></pre>
  <p>And this works fine.<br />
  So I tried sending an embed with it and tried these (2) code below</p>
  <pre class="lang-js prettyprint-override"><code>Client.ws.on('INTERACTION_CREATE', async interaction =&gt; {
      Client.api.interactions(interaction.id, interaction.token).callback.post({data: {
          type: 4,
          data: {
              content: {
                  embed: exampleEmbed
              }
          }
      }})
  })
  </code></pre>
  <p>and</p>
  <pre class="lang-js prettyprint-override"><code>Client.ws.on('INTERACTION_CREATE', async interaction =&gt; {
      Client.api.interactions(interaction.id, interaction.token).callback.post({data: {
          type: 4,
          data: {
              embed: exampleEmbed
          }
      }})
  })
  </code></pre>
  <p>And none of these works.</p>
  <p>So <strong>what am I doing wrong ?</strong><br />
  Or, <strong>How can I send an embed with slash command?</strong></p>
  <p>Edit: This is how I define <code>exampleEmbed</code></p>
  <pre class="lang-js prettyprint-override"><code>const exampleEmbed = {
      color: 0x0099ff,
      title: 'Hello world',
      thumbnail: {
          url: 'https://i.imgur.com/wSTFkRM.png',
      },
      image: {
          url: 'https://i.imgur.com/wSTFkRM.png',
      }
  };
  </code></pre>