From 4e83efa6849ea85cf6ea7345a8e11f3b4b08ddec Mon Sep 17 00:00:00 2001 From: Rob B Date: Mon, 17 Apr 2023 12:16:19 -0700 Subject: [PATCH] Alias 'docssearch' for command 'docsearch' --- fred/fred_commands/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fred/fred_commands/__init__.py b/fred/fred_commands/__init__.py index 5cee520..af58da1 100644 --- a/fred/fred_commands/__init__.py +++ b/fred/fred_commands/__init__.py @@ -140,7 +140,7 @@ async def timeout(): await view.wait() - @commands.command() + @commands.command(aliases=['docssearch']) async def docsearch(self, ctx: commands.Context, *, search: str) -> None: """Usage: `docsearch (search: str)` Response: Equivalent to using the search function on the SMR docs page; links the first search result"""