Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
AbhijeetKrishnan committed Mar 17, 2024
2 parents c864be7 + 089dcce commit b7fbfeb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/heihachi/bot.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import asyncio
import datetime
import logging
import traceback
Expand Down Expand Up @@ -157,7 +158,7 @@ async def _feedback_cmd(interaction: discord.Interaction["FrameDataBot"], messag
except Exception as e:
result = embed.get_error_embed(f"Feedback couldn't be sent, caused by: {traceback.format_exc()}")

await interaction.followup.send(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 All @@ -167,4 +168,4 @@ async def _help_command(interaction: discord.Interaction["FrameDataBot"]) -> Non
await interaction.response.defer()
if not (self._is_user_blacklisted(str(interaction.user.id)) or self._is_author_newly_created(interaction)):
help_embed = embed.get_help_embed(self.frame_service)
await interaction.followup.send(embed=help_embed, ephemeral=True)
await interaction.response.send_message(embed=help_embed, ephemeral=True)

0 comments on commit b7fbfeb

Please sign in to comment.