misc(issues): testing if I can change something without discord breaking
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 4s

This commit is contained in:
Seaswimmer 2023-08-18 17:32:22 -04:00
parent cddffc8e5b
commit afa2a31ef5
No known key found for this signature in database
GPG key ID: 5019678FD9CF50D8

View file

@ -34,7 +34,7 @@ class Issues(commands.Cog):
await interaction.response.send_message(content=f"The cog is misconfigured, please report this error.", ephemeral=True) await interaction.response.send_message(content=f"The cog is misconfigured, please report this error.", ephemeral=True)
try: try:
await channel.send(embed=embed) await channel.send(embed=embed)
await interaction.response.send_message(content=f"Issue request sent!", embed=embed, ephemeral=True) await original_interaction.edit_original_response(content=f"Issue request sent!", embed=embed, view=None)
except (discord.HTTPException, discord.Forbidden) as error: except (discord.HTTPException, discord.Forbidden) as error:
await original_interaction.edit_original_response(content="Command cancelled.", view=None) await original_interaction.edit_original_response(content="Command cancelled.", view=None)
await interaction.response.send_message(content=f"The cog is misconfigured, please report this error.\n```{error}```", ephemeral=True) await interaction.response.send_message(content=f"The cog is misconfigured, please report this error.\n```{error}```", ephemeral=True)