fix(aurora): formatting

This commit is contained in:
Seaswimmer 2024-01-08 08:40:00 +00:00
parent 66600757da
commit e4d7c5757a
Signed by untrusted user: cswimr
GPG key ID: D74DDDDF420E13DF

View file

@ -186,7 +186,7 @@ async def embed_factory(embed_type: str, color: Color, /, interaction: Interact
resolved_user = await fetch_user_dict(interaction, case_dict['resolved_by'])
resolved_name = resolved_user['name'] if resolved_user['discriminator'] == "0" else f"{resolved_user['name']}#{resolved_user['discriminator']}"
embed.add_field(name='Resolve Reason', value=f"Resolved by {resolved_name} ({resolved_user['id']}) for:\n" + box(case_dict['resolve_reason']), inline=False)
embed.add_field(name='Resolve Reason', value=f"Resolved by `{resolved_name}` ({resolved_user['id']}) for:\n" + box(case_dict['resolve_reason']), inline=False)
else:
if case_dict['target_type'] == 'USER':
target_user = await fetch_user_dict(interaction, case_dict['target_id'])