Skip to content

Commit

Permalink
Alias 'docssearch' for command 'docsearch'
Browse files Browse the repository at this point in the history
  • Loading branch information
budak7273 authored and Feyko committed Apr 17, 2023
1 parent a525523 commit 4e83efa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fred/fred_commands/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"""
Expand Down

0 comments on commit 4e83efa

Please sign in to comment.