From 237dbd57dd74846a88d196da2c91f4c3d54522a1 Mon Sep 17 00:00:00 2001 From: nex Date: Fri, 28 Apr 2023 15:32:15 +0100 Subject: [PATCH] Invisible defers --- cogs/other.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cogs/other.py b/cogs/other.py index 1ddc6af..c403418 100644 --- a/cogs/other.py +++ b/cogs/other.py @@ -1049,7 +1049,7 @@ class OtherCog(commands.Cog): emoji=discord.PartialEmoji.from_str("\U000023ed\U0000fe0f") ) async def new_quote(self, _, interaction: discord.Interaction): - await interaction.response.defer() + await interaction.response.defer(invisible=True) async with self: new_result = await get_quote() if isinstance(new_result, discord.File): @@ -1063,7 +1063,7 @@ class OtherCog(commands.Cog): emoji=discord.PartialEmoji.from_str("\U0001f504") ) async def regenerate(self, _, interaction: discord.Interaction): - await interaction.response.defer() + await interaction.response.defer(invisible=True) async with self: message = await interaction.original_response() if "\U00002b50" in [x.emoji for x in message.reactions]: @@ -1084,7 +1084,7 @@ class OtherCog(commands.Cog): emoji="\N{wastebasket}\U0000fe0f" ) async def delete(self, _, interaction: discord.Interaction): - await interaction.response.defer() + await interaction.response.defer(invisible=True) await interaction.delete_original_response() self.stop()