WIP: Refactor Aurora (3.0.0) #29

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

View file

@ -230,6 +230,8 @@ async def case_factory(interaction: Interaction, moderation: Moderation) -> Embe
if moderation.resolved:
resolved_user = await moderation.get_resolved_by()
if not resolved_user:
resolved_user = PartialUser(id=0, name="Deleted User", discriminator="0")
embed.add_field(
name="Resolve Reason",
value=f"Resolved by `{resolved_user.name or 'Deleted User'}` ({resolved_user.id or '0'}) for:\n{box(moderation.resolve_reason)}",