#edit permissions of role permissions = discord.Permissions() permissions.update(kick_members = False) await role.edit(reason = None, colour = discord.Colour.blue(), permissions=permissions)