cogs/color/assignment.py
async def uncolor(member, color):
        """Removes the color role if a user has one."""
        # do nothing if there is no associated role
        if not color["role"]:
            return

        role = member.guild.get_role(color["role"])
        await member.remove_roles(role)
Removes the color role if a user has one.
Removes the color role if a user has one.
Removes the color role if a user has one .
async def uncolor(member, color):
        if not color["role"]:
            return
        role = member.guild.get_role(color["role"])
        await member.remove_roles(role)
async def uncolor ( member , color ) : if not color [ "role" ] : return role = member . guild . get_role ( color [ "role" ] ) await member . remove_roles ( role )
Removes the color role if a user has one.
Removes the color role if a user has one .
"""Removes the color role if a user has one.""" # do nothing if there is no associated role
member
color