how to edit permissions of a role in discord.py code example
Example: how to change role permissions in discord.py
#edit permissions of role
permissions = discord.Permissions()
permissions.update(kick_members = False)
await role.edit(reason = None, colour = discord.Colour.blue(), permissions=permissions)