Skip to content

Commit

Permalink
Change feedback send message location
Browse files Browse the repository at this point in the history
  • Loading branch information
TLNBS2405 committed Apr 4, 2024
1 parent ebb1915 commit f347728
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/heihachi/bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,7 @@ async def _feedback_cmd(interaction: discord.Interaction, message: str) -> None:
result = embed.get_success_embed("Feedback sent")
except Exception as e:
result = embed.get_error_embed(f"Feedback couldn't be sent, caused by: {traceback.format_exc()}")

await interaction.response.send_message(embed=result, ephemeral=False)
await interaction.response.send_message(embed=result, ephemeral=False)
else:
logger.warning("Feedback or Action channel ID is not set. Disabling feedback command.")

Expand Down

0 comments on commit f347728

Please sign in to comment.