title: How to make a counter of people who have been invited to the server?
body: <p>Its my code</p>
  
  <pre><code>    var args = message.content.slice(prefix.length).trim().split(/ +/g);
      var command = args.shift().toLowerCase()
  
  if(command == "myinv"){
  
      var invs = (await message.member.guild.fetchInvites().then(invites =&gt; invites.findAll("memberCount"))).values()
  
  
      return message.channel.send(elo)
  
  }
  </code></pre>
  
  <p>When i use command i got error like this:</p>
  
  <pre><code>(node:22680) DeprecationWarning: Collection#findAll: use Collection#filter instead
  (node:22680) UnhandledPromiseRejectionWarning: Error: Value must be specified.
  </code></pre>
  
  <p>Can anyone help me?</p>