fix(aurora): fixed an incorrect conditional statement resulting in unintended behavior
This commit is contained in:
parent
50c2db80d9
commit
ee331b7544
1 changed files with 1 additions and 1 deletions
|
@ -123,7 +123,7 @@ class PartialUser(AuroraBaseModel):
|
|||
|
||||
@property
|
||||
def name(self):
|
||||
return f"{self.username}#{self.discriminator}" if self.discriminator == 0 else self.username
|
||||
return f"{self.username}#{self.discriminator}" if self.discriminator != 0 else self.username
|
||||
|
||||
def __str__(self):
|
||||
return self.name
|
||||
|
|
Loading…
Reference in a new issue