title: I want to send a message to a specific user after someone joined into a specific channel
body: <p>So, I want my Discord bot to send a message to a specific user whenever someone joins into a specific channel. But my code doesn't seem to work.
  Does someone know how to fix it?</p>
  
  <pre><code>client.on('voiceStateUpdate', (oldMember, newMember) =&gt; {
  let newUserChannel = newMember.voiceChannel
  let oldUserChannel = oldMember.voiceChannel
  
  if(oldUserChannel === undefined &amp;&amp; newUserChannel !== undefined) {
      if(voiceChannel.id === "530501827389685762"){
  
          client.users.get("188984116618854400").send("Ein neuer Spieler ist im Aufnahmebereich!")
  
      }
      else {
          return;
      }
  }
  </code></pre>
  
  <p>})</p>