WIP: Refactor Aurora (3.0.0) #29

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

View file

@ -268,7 +268,7 @@ async def changes_factory(interaction: Interaction, moderation: Moderation) -> E
f"{bold('Reason:')} {change.reason}" if change.reason else "", f"{bold('Reason:')} {change.reason}" if change.reason else "",
f"{bold('Duration:')} {humanize_timedelta(timedelta=change.duration)}" if change.duration else "", f"{bold('Duration:')} {humanize_timedelta(timedelta=change.duration)}" if change.duration else "",
f"{bold('End Timestamp:')} {end_timestamp}" if end_timestamp else "", f"{bold('End Timestamp:')} {end_timestamp}" if end_timestamp else "",
f"{bold("Timestamp:")} {timestamp}", f"{bold('Timestamp')} {timestamp}",
] ]
change_str.remove("") change_str.remove("")