title: How do I fix RichEmbed?
body: <p>I am trying to print get embed message in discord, but this happens:</p>
  
  <blockquote>
    <p>TypeError: Discord.RichEmbed is not a constructor</p>
  </blockquote>
  
  <p>Here is my code:</p>
  
  <pre><code>const Discord = require('discord.js');
  const bot = new Discord.Client();
  const token = 'mytokenhere';
  const prefix = '!';
  
  bot.on('ready', () =&gt; {
      console.log('This bot is online!');
  });
  
  bot.on('message', message =&gt; {
      let args = message.content.substring(prefix.length).split(" ");
  
      switch(args[0]) {
          case 'pomoc':
              message.channel.send('.')
              break;
          case 'cc':
              if(!args[1]) return message.reply('Podaj 2 argument! (liczbe wiadomosci do skasowania)')
              message.channel.bulkDelete(args[1]); 
              break;
          case 'embed':
              var embed = new Discord.RichEmbed()
                  .setAuthor(message.author.username)
                  .setDescription("Usuario rikolino.")
                  .setColor("#3535353")
                  .addField("Usuario", '${message.author.username}#${message.author.discriminator}')
                  .addField("ID", message.author.id)
                  .addField("Creación", message.author.createdAt);
  
              message.channel.send({embed});
              break;
      }
  });
  
  bot.login(token);
  </code></pre>
  
  <p>I tried many other solutions, but the result is always the same, I really don't know where the problem is.</p>