forked from blizzthewolf/SeaCogs
fix(moderation): added message to case's change argument response if no changes have been made
This commit is contained in:
parent
2788cc57f0
commit
b01a2bbb21
1 changed files with 3 additions and 0 deletions
|
@ -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':
|
||||
|
|
Loading…
Reference in a new issue