misc(issues): testing if I can change something without discord breaking
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 4s
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 4s
This commit is contained in:
parent
cddffc8e5b
commit
afa2a31ef5
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue