title: How do i make a discord bot check in what servers are you?
body: <p>I'm working on a discord check bot (in python).
  The bot should be able to see in what servers is a person since there is a permission when authorizing to allow that.
  When used with the command &quot;chk!check(memberName)&quot;, the bot should respond with something like this:</p>
  <pre><code>Servers that (memberName) is in:
  Server1
  Server2
  Server3
  Server4
  </code></pre>
  <p>Now, I have done most of the job like setting up the bot, the command, and the prefix.
  I am not sure how to make the bot &quot;read&quot; the servers that the checked person is.
  Any help? Thanks!</p>
  <p>Also, the code I made so far is below</p>
  <pre><code>import discord
  from discord.exr import commands
  
  client = commands.bot(command_prefix = &quot;chk!&quot;)
  
  
  client = discord.Client()
  
  @client.command()
  async def check(ctx, member : discord.Member):
      await hereiswhereigotstuck
  
  @client.event
  async def on_ready:
      print('Bot Succesfully Started.')
      
  
  
  
  client.run('token')
  </code></pre>