@client.command()
async def verify(ctx):
member = ctx.author
# Get the verify role ID
verify_role_id = get_verify_role_id(ctx.guild.id)
role = discord.utils.get(ctx.guild.roles, id=verify_role_id)
# Check if the verify role has been set
if role is None:
await ctx.send("No verify role has been set.")
return
# Add the role to the member
await member.edit(roles=role)
await ctx.send(f"{ctx.author.mention} has been verified!")
this is my code but for some reason the role is not adding to the user. the role has been insert in the db tho