From 4140f52c696278cf2e8354f2b98abc7df8c114a8 Mon Sep 17 00:00:00 2001 From: iou1name Date: Tue, 29 May 2018 13:59:38 -0400 Subject: [PATCH] .help returns an error if command not found --- modules/help.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/help.py b/modules/help.py index d921b9a..5374bd2 100755 --- a/modules/help.py +++ b/modules/help.py @@ -15,7 +15,7 @@ def help(bot, trigger): name = trigger.group(2) name = name.lower() if name not in bot.commands: - return + return bot.msg("Command not found.") cmd = bot.commands[name] docstring, examples = cmd.doc if examples: