From cddffc8e5b526f7283325e8c4529825d45388bea Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Fri, 18 Aug 2023 17:25:45 -0400 Subject: [PATCH] fix(issues): fixed discriminator checking --- issues/issues.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/issues/issues.py b/issues/issues.py index b4ebd5c..5e89544 100644 --- a/issues/issues.py +++ b/issues/issues.py @@ -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}"