@client.command(pass_context=True)
async def join(ctx):
channel= ctx.message.author.voice.channel
await channel.connect()
@client.command(pass_context=True)
async def leave(ctx):
server=ctx.message.server
voice_client=client.voice_client_in(server)
await voice_client.disconnect()