title: Calling a constant from another file
body: <p>I'm having problems with constants in different files: I have to store an embed in a different file, and then call it in the main one, but when I try to do it gives me parse errors like <code>Unexpected '.' in 'help.embed'</code> I tried to use the methods suggested in these threads [<a href="https://stackoverflow.com/questions/26650721/how-to-use-javascript-constant-in-javascript-file-from-another-javascript-file">1</a>,<a href="https://stackoverflow.com/questions/3244361/can-i-access-variables-from-another-file">2</a>] but they didn't work: it continues to give me that parse error. Can somebody help me?<br>
  PS: I don't want to use an HTML file to call the scripts, I want to use only JS and JSON</p>
  
  <p>This is my code (simplified):</p>
  
  <pre><code>// help.js
  const Discord = require("discord.js");
  
  var embed = new Discord.RichEmbed()
    .setTitle("Title")
  
  module.exports = Object.freeze({
    embed: embed
  });
  </code></pre>
  
  
  
  <pre><code>// main.js
  const help = require("./help.js")
  client.on("ready", () =&gt;{
    client.channels.find("id",config.disaply_channel).send(help.embed); //Parse error
  });
  </code></pre>