title: How to remove all roles at once (Discord.py 1.4.1)
body: <p>I try to make a command which would add &quot;Prisoner&quot; role, and remove all roles the targeted user has</p>
  <pre><code>    @commands.has_permissions(administrator=True)
      async def prison(self, ctx, member: discord.Member):
          &quot;&quot;&quot;Imprison offender&quot;&quot;&quot;
          role = discord.utils.get(ctx.guild.roles, name='Prisoner')
          await member.add_roles(role)
          await member.remove_roles()
          await ctx.message.add_reaction(emoji=self.tick)
          await ctx.send(f&quot;{member} is imprisoned!&quot;)
  
      @prison.error
      async def prison_error(ctx, error):
        if isinstance(error, commands.MissingPermissions):
          await ctx.send(&quot;Sorry you're not allowed to use this command. This command is only for the Server's authorities.&quot;)
  </code></pre>