WIP: Refactor Aurora (3.0.0) #29

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

View file

@ -270,13 +270,14 @@ async def changes_factory(interaction: Interaction, moderation: Moderation) -> E
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}",
] ]
copy = change_str.copy()
for string in change_str: for string in change_str:
if string == "": if string == "":
change_str.remove(string) copy.remove(string)
embed.add_field( embed.add_field(
name=change.type.title(), name=change.type.title(),
value="\n".join(change_str), value="\n".join(copy),
inline=False, inline=False,
) )