(hopefully) fixed check_discrim
This commit is contained in:
parent
831132f55f
commit
ed0ea601d6
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ class Suggestions(commands.Cog):
|
||||||
)
|
)
|
||||||
|
|
||||||
def check_discrim(self, user: discord.User):
|
def check_discrim(self, user: discord.User):
|
||||||
if user.discriminator != 0:
|
if user.discriminator != "0":
|
||||||
return user.name
|
return user.name
|
||||||
else:
|
else:
|
||||||
return f"{user.name}#{user.discriminator}"
|
return f"{user.name}#{user.discriminator}"
|
||||||
|
|
Loading…
Reference in a new issue