title: How to fix the error with the execution of the command for the bot?
body: <p>I am writing a bot for discords. I decided to implement the command to play the video (music). There is a problem with a following code snippet:</p>
  
  <pre><code>@client.command(pass_context=True)
  async def play(ctx, url):
      channel = ctx.author.voice.channel
      await channel.connect()
      server = ctx.message.guild
      voice_client = client.voice_clients(server)#&lt; An error occurs here
      player = await voice_client.create_ytdl_player(url)
      players[server.id] = player
      player.start()
  </code></pre>
  
  <p>Namely: <code>discord.ext.commands.errors.CommandInvokeError: Command raised an exception: TypeError: 'list' object is not callable</code></p>