From 203e9ad2a07a4555b4ccfcce70b16cf394dda598 Mon Sep 17 00:00:00 2001 From: GeckoEidechse Date: Sat, 28 Dec 2024 10:20:52 +0100 Subject: [PATCH] feat: Use hybrid command as slash commands tend to take forever to actually show up --- reaper/cogs/doc_search.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reaper/cogs/doc_search.py b/reaper/cogs/doc_search.py index b13e55b..8178a0e 100644 --- a/reaper/cogs/doc_search.py +++ b/reaper/cogs/doc_search.py @@ -6,7 +6,7 @@ class DocSearch(commands.Cog): def __init__(self, bot: commands.Bot) -> None: self.bot = bot - @commands.command() + @commands.hybrid_command() async def docsearch(self, ctx, *, query): query = query.replace(" ", "+") # convert special characters to link friendly format