title: Discord.js - Bot join command author Voice Channel
body: <p>I am making a discord.js bot and i want that the bot join the voice channel of the command author. My code its actually this:</p>
  
  <pre><code>    client.on("message", (message) =&gt; {
    if (message.content.startsWith(prefix + "join")){
      const vchannel = message.member.voiceChannel
      vchannel.join()
    }
  });
  </code></pre>
  
  <p>Im using Discord.js Ver. 11 and when i run the bot and execute the command it says: Cannot read property "join"</p>