title: How to modify discord.js v12 for user token
body: <p>I know selfbots are against TOS, and i know you can get banned for doing so.
  I am developing my client, but when I try to login with user token, an error occurs</p>
  <pre><code>Error [TOKEN_INVALID]: An invalid token was provided.
  </code></pre>
  <p>My token is valid, and v11 working.
  How to modify latest version of discord.js for using user token?</p>
  <p>UPD 1: code</p>
  <pre class="lang-js prettyprint-override"><code>const Discord = require('discord.js');
  
  const token = 'mfa.token.of.my.account';
  
  const client = new Discord.Client();
  
  client.once('ready', () =&gt; {
      console.log('Ready!');
  });
  
  client.login(token);
  </code></pre>