python fails to compare discord tags for hypixel verification bot

O

ohno52

Guest
Member
Python:

Code:
@bot.command()
async def verify(ctx, name):
    discordnameq = hypixel.get_discord(name)
    executorname = {ctx.author}
    executorname = str(executorname)
    if (executorname == discordnameq):
        await ctx.send("Successfully linked!")
    else:
        await ctx.send(f"**{name}s** set discord (*{discordnameq}*) **doesnt match** yours (***{ctx.author}***).")
anyone knows why this doesnt work? it fails to compare the discord tags, like in the screenshot:
1637676099726.png

can...

Read more
 
BlackSpigot General Chat
Rules Help Users
    Dekomori @ Dekomori: @WASTEDYEARS yes, what's your discord?
    Top