title: Trying to make a discord js kick command, but it kicks based on user id
body: <p>I am trying to make a discord kick command that kicks a specific person on my server. Yes, it isn't very practical but this is exactly what my bot needs.
  This is my code:</p>
  <pre class="lang-js prettyprint-override"><code>if (command == &quot;kickderek&quot;) {
      let member = message.guild.member(&quot;&lt;@userid&gt;&quot;);
      member.kick();
      kickd = Math.floor(Math.random() * 10000);
      if (kickd == 1) {
          member.kick();
          message.channel.send(&quot;God has accepted your wish and derek has been kicked&quot;);
          return;
      } else {
          message.channel.send(&quot;Try again, you failed kicking derek&quot;);
          return;
      }
  }
  </code></pre>
  <p>Whenever I run it I get the error:</p>
  <pre><code>/home/admin/discbot/disc.js:357
      member.kick();
             ^
  TypeError: Cannot read property 'kick' of null
  at Client.&lt;anonymous&gt; (/home/admin/discbot/disc.js:357:16)
  at Client.emit (events.js:326:22)
  at MessageCreateAction.handle (/home/admin/discbot/node_modules/discord.js/src/client/actions/MessageCreate.js:31:14)
  at Object.module.exports [as MESSAGE_CREATE] (/home/admin/discbot/node_modules/discord.js/src/client/websocket/handlers/MESSAGE_CREATE.js:4:32)
  at WebSocketManager.handlePacket (/home/admin/discbot/node_modules/discord.js/src/client/websocket/WebSocketManager.js:384:31)
  at WebSocketShard.onPacket (/home/admin/discbot/node_modules/discord.js/src/client/websocket/WebSocketShard.js:444:22)
  at WebSocketShard.onMessage (/home/admin/discbot/node_modules/discord.js/src/client/websocket/WebSocketShard.js:301:10)
  at WebSocket.onMessage (/home/admin/discbot/node_modules/ws/lib/event-target.js:125:16)
  at WebSocket.emit (events.js:314:20)
  at Receiver.receiverOnMessage (/home/admin/discbot/node_modules/ws/lib/websocket.js:797:20)
  </code></pre>
  <p>Can someone help me solve this problem, I have been working on it for hours.</p>