Due to last commit, changes modules to follow new hooks declaration
This commit is contained in:
parent
a2d9757d06
commit
89206d9a91
5 changed files with 27 additions and 31 deletions
|
|
@ -16,8 +16,8 @@ def help_full ():
|
|||
|
||||
def load(context):
|
||||
from hooks import Hook
|
||||
context.hooks.add_hook(context.hooks.cmd_hook, Hook(cmd_sleep, "sleeptime"))
|
||||
context.hooks.add_hook(context.hooks.cmd_hook, Hook(cmd_sleep, "sleepytime"))
|
||||
context.hooks.add_hook("cmd_hook", Hook(cmd_sleep, "sleeptime"))
|
||||
context.hooks.add_hook("cmd_hook", Hook(cmd_sleep, "sleepytime"))
|
||||
|
||||
|
||||
def cmd_sleep(msg):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue