Refactors hooks registration
This commit is contained in:
parent
49d7e4ced6
commit
f39a0eac56
40 changed files with 202 additions and 168 deletions
|
|
@ -92,7 +92,7 @@ class WFAResults:
|
|||
|
||||
# MODULE INTERFACE ####################################################
|
||||
|
||||
@hook("cmd_hook", "calculate",
|
||||
@hook.command("calculate",
|
||||
help="Perform search and calculation using WolframAlpha",
|
||||
help_usage={
|
||||
"TERM": "Look at the given term on WolframAlpha",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue