forked from cswimr/SeaCogs
fix(moderation): fixed incorrect formatting in evidenceformat codeblock
This commit is contained in:
parent
05774f87c2
commit
4969a55e6f
1 changed files with 1 additions and 1 deletions
|
@ -138,7 +138,7 @@ async def embed_factory(embed_type: str, color: Color, /, interaction: Interact
|
||||||
content = f"{codeblock}prolog\nCase: {case_dict['moderation_id']:,} ({str.title(case_dict['moderation_type'])})\n\nTarget: {target_name} ({target_user['id']})\nModerator: {moderator_name} ({moderator_user['id']})"
|
content = f"{codeblock}prolog\nCase: {case_dict['moderation_id']:,} ({str.title(case_dict['moderation_type'])})\n\nTarget: {target_name} ({target_user['id']})\nModerator: {moderator_name} ({moderator_user['id']})"
|
||||||
|
|
||||||
if case_dict['duration'] != 'NULL':
|
if case_dict['duration'] != 'NULL':
|
||||||
content += f"**Duration:** {humanize.precisedelta(td)}"
|
content += f"Duration: {humanize.precisedelta(td)}"
|
||||||
|
|
||||||
content += f"\nReason: {case_dict['reason']}{codeblock}"
|
content += f"\nReason: {case_dict['reason']}{codeblock}"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue