aboutsummaryrefslogtreecommitdiff
path: root/src/core_modules
diff options
context:
space:
mode:
authorGravatar jesopo2020-02-10 11:09:06 +0000
committerGravatar jesopo2020-02-10 11:09:06 +0000
commitf1b15ea7b6e2f94cc4d91ebf72b91d00269be293 (patch)
tree9dbbdef60abe811e7668cce45fb742d459faab86 /src/core_modules
parentshow issue/pr title for issue_comment events (diff)
signature
`usage` doesn't exist. return None instead
Diffstat (limited to 'src/core_modules')
-rw-r--r--src/core_modules/help.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core_modules/help.py b/src/core_modules/help.py
index 9a3470c1..54ff2e71 100644
--- a/src/core_modules/help.py
+++ b/src/core_modules/help.py
@@ -23,7 +23,7 @@ class Module(ModuleManager.BaseModule):
if usages:
return " | ".join(
"%s %s" % (command, usage) for usage in usages)
- return usage
+ return None
def _get_hook(self, command):
hooks = self.events.on("received.command").on(command).get_hooks()