title: Discord.js - Guild ID is undefined even though definition is there
body: <p>Making a discord bot. Everything works fine, except the one command of <code>-!prefix</code>. <code>-!</code> being the prefix, and the command taking the args and changing the prefix of the server.</p>
  
  <p>Before I go into detail about this while thing, here's the bot's code, maybe I simply did something wrong in the consts: <a href="https://hastebin.com/irocuwuduw.js" rel="nofollow noreferrer">Hastebin Link</a></p>
  
  <p>The error here is in line 52, according to the console: <a href="https://hastebin.com/ugaciyuwoz.tex" rel="nofollow noreferrer">Console Log</a></p>
  
  <p>I'm confused as to what to do with this being "undefined." I've tried using the <code>message.guild.id</code> property as the variable, and also the one shown on the code. I've tried moving it to multiple places, although the only place it even registers is INSIDE of the prefix command (which is currently broken because of this error.)</p>
  
  <p>Anyone have any fixes? I'm not that much of an expert in the whole JavaScript thing, as I came over from Python and regular Java.</p>