Started cleaning up plugins/help.py
This commit is contained in:
parent
21b753c892
commit
71661983df
|
@ -21,16 +21,13 @@ def help(inp, input=None, bot=None, say=None, notice=None):
|
|||
else:
|
||||
funcs[func] = command
|
||||
|
||||
hidden = ["part", "stfu", "kthx", "chnick", "join", "8ballnooxt"]
|
||||
|
||||
commands = dict((value, key) for key, value in funcs.iteritems() if key not in hidden)
|
||||
commands = dict((value, key) for key, value in funcs.iteritems())
|
||||
|
||||
if not inp:
|
||||
length = 0
|
||||
out = ["",""]
|
||||
well = []
|
||||
for x in commands:
|
||||
if x not in hidden:
|
||||
well.append(x)
|
||||
well.sort()
|
||||
for x in well:
|
||||
|
|
Reference in a new issue