From e75ffaaf5f31b4a083988647e2cdf02d7c99c966 Mon Sep 17 00:00:00 2001 From: Harmon Date: Wed, 26 Jul 2023 07:06:43 -0500 Subject: [PATCH] [Discord] Defer search wikipedia slash command response --- Discord/cogs/search.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Discord/cogs/search.py b/Discord/cogs/search.py index 81bcdb6328..a86019fba2 100644 --- a/Discord/cogs/search.py +++ b/Discord/cogs/search.py @@ -310,6 +310,7 @@ async def slash_wikipedia(self, interaction, *, query: str): Search query """ ctx = await interaction.client.get_context(interaction) + await ctx.defer() await self.wikipedia(ctx, query = query) @commands.group(