Small fix in plugins/help.py
This commit is contained in:
parent
bb622efcd8
commit
b72e2d3fde
1 changed files with 3 additions and 6 deletions
|
@ -4,7 +4,7 @@ from util import hook
|
||||||
|
|
||||||
# Standard automatic help command
|
# Standard automatic help command
|
||||||
@hook.command(autohelp=False)
|
@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"
|
".help -- gives a list of commands/help for a command"
|
||||||
|
|
||||||
funcs = {}
|
funcs = {}
|
||||||
|
@ -42,9 +42,6 @@ def help(inp, input=None, bot=None, say=None, notice=None):
|
||||||
notice("For help, do '.help example' where example is the " +
|
notice("For help, do '.help example' where example is the " +
|
||||||
"name of the command you want help for.")
|
"name of the command you want help for.")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
else:
|
else:
|
||||||
if inp in commands:
|
if inp in commands:
|
||||||
input.say(commands[inp].__doc__)
|
notice(commands[inp].__doc__)
|
||||||
|
|
||||||
|
|
Reference in a new issue