title: Can't send embeds in discord.js?
body: <p>When I try to send an Embed to a TextChannel:</p>
  <pre><code>const embed = new Discord.MessageEmbed()
      .setTitle('Some title')
  
  msg.channel.send(embed);
  </code></pre>
  <p>It just gives me this error:</p>
  <pre><code>(node:76224) UnhandledPromiseRejectionWarning: TypeError: fields.flat is not a function
      at Function.normalizeFields (C:\Users\user\Desktop\code\jbot\node_modules\discord.js\src\structures\MessageEmbed.js:450:8)
      at MessageEmbed.setup (C:\Users\user\Desktop\code\jbot\node_modules\discord.js\src\structures\MessageEmbed.js:78:91)
      at new MessageEmbed (C:\Users\user\Desktop\code\jbot\node_modules\discord.js\src\structures\MessageEmbed.js:18:10)
      at embedLikes.map.e (C:\Users\user\Desktop\code\jbot\node_modules\discord.js\src\structures\APIMessage.js:166:40)
      at Array.map (&lt;anonymous&gt;)
      at APIMessage.resolveData (C:\Users\user\Desktop\code\jbot\node_modules\discord.js\src\structures\APIMessage.js:166:31)
      at TextChannel.send (C:\Users\user\Desktop\code\jbot\node_modules\discord.js\src\structures\interfaces\TextBasedChannel.js:166:62)
      at Object.module.exports.execute (C:\Users\user\Desktop\code\jbot\commands\help.js:36:17)
      at Client.client.on.message (C:\Users\user\Desktop\code\jbot\index.js:38:42)
      at Client.emit (events.js:198:13)
  (node:76224) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
  (node:76224) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
  </code></pre>
  <p>I have the latest version of discord.js. And I have also tried to reinstall discord.js but it didn't fix the problem.</p>