diff options
| author | 2020-02-10 11:09:06 +0000 | |
|---|---|---|
| committer | 2020-02-10 11:09:06 +0000 | |
| commit | f1b15ea7b6e2f94cc4d91ebf72b91d00269be293 (patch) | |
| tree | 9dbbdef60abe811e7668cce45fb742d459faab86 /src/core_modules | |
| parent | show 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.py | 2 |
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() |
