WIP: Refactor Aurora (3.0.0) #29

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

View file

@ -181,7 +181,7 @@ class Moderation(AuroraGuildModel):
self.target_type,
self.moderator_id,
self.role_id,
str(self.duration) if self.duration else None,
timedelta_to_string(self.duration) if self.duration else None,
self.end_timestamp.timestamp() if self.end_timestamp else None,
self.reason,
self.resolved,