title: Variables are not being set inside the .then() part of a Promise
body: <p>I'm pretty new to JavaScript and node.js and so being thrown into Promises is pretty daunting when it is required for my bot to function.</p>
  
  <pre><code>var storedUserID;
  ROBLOX.getIdFromUsername(accountArg).then(function(userID) {
    message.reply("your id is " + userID);
    storedUserID = userID;
  });
  message.reply(storedUserID);
  </code></pre>
  
  <p>This is essentially what I have written out, it creates a variable called '<strong>storedUserID</strong>' which I would like to update later. I am trying to update it in the Promise but it does not seem to work.</p>
  
  <p>In the code, there is <strong>message.reply("your id is " + userID);</strong> which works as expected. It will print out to a user 'your id is [NUMBER]' so I know userID is not null.</p>
  
  <p>However, when I run <strong>message.reply(storedUserID);</strong> outside of the Promise, nothing is printed as the variable is not saved. I am not sure why.</p>
  
  <p>Any help would be appreciated as this is going towards my work in college!
  Thank you!</p>