From 85efd75518c52513206d4e7a3e50c9a57bcdc3c5 Mon Sep 17 00:00:00 2001 From: jesopo Date: Sun, 1 Sep 2019 08:34:55 +0100 Subject: [PATCH] 'usage' does not exist --- modules/commands/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/commands/__init__.py b/modules/commands/__init__.py index 728565d0..d78ffbbc 100644 --- a/modules/commands/__init__.py +++ b/modules/commands/__init__.py @@ -368,7 +368,7 @@ class Module(ModuleManager.BaseModule): if usages: return " | ".join( "%s %s" % (command, usage) for usage in usages) - return usage + return None def _get_prefix(self, hook): return hook.get_kwarg("prefix", None)