forked from cswimr/SeaCogs
fix(aurora): formatting
This commit is contained in:
parent
66600757da
commit
e4d7c5757a
1 changed files with 1 additions and 1 deletions
|
@ -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_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']}"
|
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:
|
else:
|
||||||
if case_dict['target_type'] == 'USER':
|
if case_dict['target_type'] == 'USER':
|
||||||
target_user = await fetch_user_dict(interaction, case_dict['target_id'])
|
target_user = await fetch_user_dict(interaction, case_dict['target_id'])
|
||||||
|
|
Loading…
Reference in a new issue