|
|
@ -2348,12 +2348,14 @@ def get_help(cli, rnick, rest): |
|
|
|
found = True |
|
|
|
found = True |
|
|
|
for fn in c[cname]: |
|
|
|
for fn in c[cname]: |
|
|
|
if fn.__doc__: |
|
|
|
if fn.__doc__: |
|
|
|
if nick == botconfig.CHANNEL: |
|
|
|
|
|
|
|
var.LOGGER.logMessage(botconfig.CMD_CHAR+cname+": "+fn.__doc__(rest)) |
|
|
|
|
|
|
|
if callable(fn.__doc__): |
|
|
|
if callable(fn.__doc__): |
|
|
|
cli.msg(nick, botconfig.CMD_CHAR+cname+": "+fn.__doc__(rest)) |
|
|
|
cli.msg(nick, botconfig.CMD_CHAR+cname+": "+fn.__doc__(rest)) |
|
|
|
|
|
|
|
if nick == botconfig.CHANNEL: |
|
|
|
|
|
|
|
var.LOGGER.logMessage(botconfig.CMD_CHAR+cname+": "+fn.__doc__(rest)) |
|
|
|
else: |
|
|
|
else: |
|
|
|
cli.msg(nick, botconfig.CMD_CHAR+cname+": "+fn.__doc__) |
|
|
|
cli.msg(nick, botconfig.CMD_CHAR+cname+": "+fn.__doc__) |
|
|
|
|
|
|
|
if nick == botconfig.CHANNEL: |
|
|
|
|
|
|
|
var.LOGGER.logMessage(botconfig.CMD_CHAR+cname+": "+fn.__doc__) |
|
|
|
return |
|
|
|
return |
|
|
|
else: |
|
|
|
else: |
|
|
|
continue |
|
|
|
continue |
|
|
|