Skip to content

Commit 78f65c4

Browse files
committed
Fix parameters in cmd_autohelp sieve
1 parent 6e75792 commit 78f65c4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plugins/core/core_hooks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44

55
@hook.sieve(priority=Priority.LOWEST)
6-
def cmd_autohelp(event, _hook):
6+
def cmd_autohelp(bot, event, _hook):
77
if _hook.type == "command" and _hook.auto_help and not event.text and _hook.doc is not None:
88
event.notice_doc()
99
return None

0 commit comments

Comments
 (0)