fix(issues): fixed discriminator checking
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 5s
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 5s
This commit is contained in:
parent
6ca3e914b1
commit
cddffc8e5b
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ class Issues(commands.Cog):
|
||||||
value = item.value
|
value = item.value
|
||||||
if value is not None:
|
if value is not None:
|
||||||
embed.add_field(name=title, value=value, inline=False)
|
embed.add_field(name=title, value=value, inline=False)
|
||||||
if interaction.user.discriminator == 0:
|
if interaction.user.discriminator == '0':
|
||||||
username = interaction.user.name
|
username = interaction.user.name
|
||||||
else:
|
else:
|
||||||
username = f"{interaction.user.name}#{interaction.user.discriminator}"
|
username = f"{interaction.user.name}#{interaction.user.discriminator}"
|
||||||
|
|
Loading…
Reference in a new issue