From c0857a903802a44d83868ad447fbd6a1daf1371c Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Thu, 5 Oct 2023 13:12:22 -0400 Subject: [PATCH] fix(moderation): case fields are no longer inline --- moderation/moderation.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/moderation/moderation.py b/moderation/moderation.py index de6370e..bed5a36 100644 --- a/moderation/moderation.py +++ b/moderation/moderation.py @@ -389,9 +389,9 @@ class Moderation(commands.Cog): if case['duration'] != 'NULL': expired = True if case["end_timestamp"] <= time.time() or case['resolved'] == 1 else False embed.description = embed.description + f"\n**Duration:** {humanize.precisedelta(case['duration'])}\n**Expired:** {expired}" - embed.add_field(name='Reason', value=f"```{case['reason']}```") + embed.add_field(name='Reason', value=f"```{case['reason']}```", inline=False) if case['resolved'] == 1: - embed.add_field(name='Resolve Reason', value=f"```{case['resolve_reason']}```") + embed.add_field(name='Resolve Reason', value=f"```{case['resolve_reason']}```", inline=False) await interaction.response.send_message(embed=embed, ephemeral=ephemeral) else: await interaction.response.send_message(content=f"No case with case number `{case_number}` found.", ephemeral=True)