title: check if a player got banned, kicked or just left the server
body: <p>I want to know how to get the kick reason and find out if the user left got kicked or got banned</p>
  <pre><code>client.on('guildMemberRemove', async(member) =&gt; {
        if(member == left){
            console.log(member.user.tag + &quot;left the server&quot;)
        }else if(member == kicked){
            console.log(member.user.tag + &quot;got kicked from the server the server bacause, &quot;+reason)
        }else if(member == banned){
            console.log(member.user.tag + &quot;got banned from the server the server bacause, &quot;+reason)
        }
  });
  </code></pre>