WIP: Refactor Aurora (3.0.0) #29

Draft
cswimr wants to merge 347 commits from aurora-pydantic into main
Showing only changes of commit ee331b7544 - Show all commits

View file

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