From b01a2bbb2180674464abc1d18e0958ff5cd99549 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Fri, 15 Dec 2023 09:59:32 -0500 Subject: [PATCH] fix(moderation): added message to case's change argument response if no changes have been made --- moderation/moderation.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/moderation/moderation.py b/moderation/moderation.py index 3b9d979..97066ea 100644 --- a/moderation/moderation.py +++ b/moderation/moderation.py @@ -465,6 +465,9 @@ class Moderation(commands.Cog): elif change['type'] == 'RESOLVE': embed.add_field(name='Resolve', value=f"**User:** `{name}` ({user['id']})\n**Reason:** {change['reason']}\n**Timestamp:** {timestamp}", inline=False) + else: + embed.description = "*No changes have been made to this case.* 🙁" + return embed if embed_type == 'log':