title: How to remove all roles from a member with discord.py
body: <p>so  i want to make a command that removed all the roles from a member and adds a role to the member after clearing the roles from him/her
  here is what i have</p>
  <pre><code>@client.command()
  async def prison(ctx, member: discord.Member):
     role = discord.utils.get(ctx.guild.roles, name='Prisoner')
     await member.remove_roles(member.roles)
     await member.add_roles(role)
     await ctx.send(f&quot;{member} is imprisoned!&quot;)
  </code></pre>
  <p>now this adds the role to them but doesnt clear roles, anyone know why?</p>