title: How to get a number of online members?
body: <p>I have a command that counts members and bots and outputs them separately. I would then like to output the number of online users. Is this possible?</p>
  
  <p>This command gets member and bot count</p>
  
  <pre><code>if message.content.startswith('&lt;count'):    
          membersInServer = message.guild.members
          channel = message.channel
          # Filter to the list, returns a list of bot-members
          botsInServer = list(filter(filterOnlyBots, membersInServer))
          botsInServerCount = len(botsInServer)
          # (Total Member count - bot count) = Total user count
          usersInServerCount = message.guild.member_count - botsInServerCount
          msg = discord.Embed(title="Amount of Human Members in this Discord:", description=usersInServerCount, color=0x00FD00)
          msg.add_field(name="Amount of Bot Users in this Discord:",value=botsInServerCount, inline=False)
          await channel.send(embed=msg)
  def filterOnlyBots(member):
      return member.bot
  </code></pre>
  
  <p>I've tried client.member.status and that just returns Online</p>