Clear confirmation message content on delete result

Prevents double emoji display by clearing the " Confirmed!" content
when showing the delete result embed.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Cal Corum 2026-01-28 16:40:03 -06:00
parent b5365f01f9
commit f4523b99f2
2 changed files with 3 additions and 3 deletions

View File

@ -1 +1 @@
2.28.2
2.28.3

View File

@ -607,14 +607,14 @@ class SingleCommandManagementView(BaseView):
title="Delete Failed",
description=f"Failed to delete command: {e}"
)
await interaction.edit_original_response(embed=embed, view=None)
await interaction.edit_original_response(content=None, embed=embed, view=None)
else:
# User cancelled
embed = EmbedTemplate.info(
title="Deletion Cancelled",
description=f"The command `/cc {self.command.name}` was not deleted."
)
await interaction.edit_original_response(embed=embed, view=None)
await interaction.edit_original_response(content=None, embed=embed, view=None)
class CustomCommandListView(PaginationView):