fix(issues): fixed discriminator checking
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 5s

This commit is contained in:
SeaswimmerTheFsh 2023-08-18 17:25:45 -04:00
parent 6ca3e914b1
commit cddffc8e5b
No known key found for this signature in database
GPG key ID: 5019678FD9CF50D8

View file

@ -105,7 +105,7 @@ class Issues(commands.Cog):
value = item.value
if value is not None:
embed.add_field(name=title, value=value, inline=False)
if interaction.user.discriminator == 0:
if interaction.user.discriminator == '0':
username = interaction.user.name
else:
username = f"{interaction.user.name}#{interaction.user.discriminator}"