comand to delete role discord.py code example
Example: how to delete role discord py rewrite
@client.command(name="delete_role", pass_context=True)
async def delete_role(ctx, role_name):
#find role object
role_object = discord.utils.get(ctx.message.guild.roles, name=role_name)
#delete role
await role_object.delete()