I am trying to a discord bot remove the role "new". So far, its not working. Can anyone tell me why, and what would be correct?
@client.command(pass_context=True)
async def remove(ctx):
rid = discord.utils.get(ctx.message.server.roles, name="new")
await ctx.delete_role(ctx.message.server, rid)
await ctx.say("hi")
Any ideas?