diff --git a/src/heihachi/bot.py b/src/heihachi/bot.py index 635c188..f540e63 100644 --- a/src/heihachi/bot.py +++ b/src/heihachi/bot.py @@ -1,3 +1,4 @@ +import asyncio import datetime import logging import traceback @@ -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.") @@ -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)