fix(aurora): fixed an incorrect conditional statement resulting in unintended behavior
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 21s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 32s

This commit is contained in:
Seaswimmer 2024-05-04 21:07:37 -04:00
parent 50c2db80d9
commit ee331b7544
Signed by: cswimr
GPG key ID: 5D671B5D03D65A7F

View file

@ -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