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
|
@property
|
||||||
def name(self):
|
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):
|
def __str__(self):
|
||||||
return self.name
|
return self.name
|
||||||
|
|
Loading…
Reference in a new issue