roleVer = 'BOT' #role to add
user = ctx.message.author #user
role = roleVer # change the name from roleVer to role
await ctx.send("""Attempting to Verify {}""".format(user))
try:
await user.add_roles(discord.utils.get(user.guild.roles, name=role)) #add the role
except Exception as e:
await ctx.send('There was an error running this command ' + str(e)) #if error
else:
await ctx.send("""Verified: {}""".format(user)) # no errors, say verified