From b72e2d3fde434840cb839cb0c752624cee3524cc Mon Sep 17 00:00:00 2001 From: lukeroge Date: Tue, 21 Feb 2012 11:48:21 +1300 Subject: [PATCH] Small fix in plugins/help.py --- plugins/help.py | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/plugins/help.py b/plugins/help.py index 91d7304..acc4573 100644 --- a/plugins/help.py +++ b/plugins/help.py @@ -4,7 +4,7 @@ from util import hook # Standard automatic help command @hook.command(autohelp=False) -def help(inp, input=None, bot=None, say=None, notice=None): +def help_new(inp, input=None, bot=None, say=None, notice=None): ".help -- gives a list of commands/help for a command" funcs = {} @@ -41,10 +41,7 @@ def help(inp, input=None, bot=None, say=None, notice=None): notice(out[1][1:]) notice("For help, do '.help example' where example is the " + "name of the command you want help for.") - - - + else: if inp in commands: - input.say(commands[inp].__doc__) - + notice(commands[inp].__doc__)