title: ReferenceError: Discord is not defined
body: <p>I've already searched around and i'm unable to find the answer to my dilemma. I'm running on node.js and javascript, but unfortunately i'm awful at coding because i'm just now starting out! please give me some tips if i've done anything wrong. anyway! Anytime someone tries to preform a command, this comes up, but my bot comes online.
  <a href="https://i.stack.imgur.com/jBJSG.png" rel="nofollow noreferrer">see here!</a> so, I have tried to change the code and my code seemingly looks like this;</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>var Discord = require("discord.js")
  
  const { promisify } = require("util");
  const readdir = promisify(require("fs").readdir);
  const Enmap = require("enmap");
  
  var client = new Discord.Client();</code></pre>
  </div>
  </div>
  </p>
  <p>Is there something i'm missing here? thank you in advance!</p>