Skip to content

Commit

Permalink
fix search cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
rking32 committed Feb 28, 2022
1 parent 02e0845 commit 7e21c9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion userge/plugins/builtin/tools/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ async def search(message: Message):
await message.err("Enter any keyword to search in commands")
return

found = [i for i in sorted(list(userge.manager.enabled_commands)) if cmd in i]
found = [i for i in sorted(list(userge.manager.loaded_commands)) if cmd in i]
out_str = ' '.join(found)

if found:
Expand Down

0 comments on commit 7e21c9f

Please sign in to comment.