(hopefully) fixed check_discrim

This commit is contained in:
Seaswimmer 2023-07-12 14:17:37 -04:00
parent 831132f55f
commit ed0ea601d6

View file

@ -45,7 +45,7 @@ class Suggestions(commands.Cog):
)
def check_discrim(self, user: discord.User):
if user.discriminator != 0:
if user.discriminator != "0":
return user.name
else:
return f"{user.name}#{user.discriminator}"