Make the help command always reply in PM to reduce spamminess
This commit is contained in:
parent
dd32467b89
commit
70132b6aea
@ -2635,9 +2635,6 @@ def get_help(cli, rnick, rest):
|
|||||||
@cmd("help", raw_nick = True)
|
@cmd("help", raw_nick = True)
|
||||||
def help2(cli, nick, chan, rest):
|
def help2(cli, nick, chan, rest):
|
||||||
"""Gets help"""
|
"""Gets help"""
|
||||||
if rest.strip(): # command was given
|
|
||||||
get_help(cli, chan, rest)
|
|
||||||
else:
|
|
||||||
get_help(cli, nick, rest)
|
get_help(cli, nick, rest)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user