overhauled help
This commit is contained in:
parent
0fdf370733
commit
c58192f72c
58 changed files with 124 additions and 117 deletions
|
@ -52,7 +52,13 @@ def gen_password(types):
|
|||
|
||||
@hook.command
|
||||
def password(inp, notice=None):
|
||||
".password <length> [types] -- generates a password. types can include 'alpha', 'no caps', 'numeric', 'symbols' or any combination of the types, eg. 'numbers symbols'"
|
||||
".password <length> [types] -- Generates a password of <legenth>. [types] can include 'alpha', 'no caps', 'numeric', 'symbols' or any combination of the types, eg. 'numbers symbols'"
|
||||
if inp == "penis":
|
||||
return "Unable to process request, input too short"
|
||||
return "error: unable to process request, input too short!"
|
||||
if inp == "mypenis":
|
||||
return "error: unable to process request, input too short!"
|
||||
if inp == "dick":
|
||||
return "error: unable to process request, input too short!"
|
||||
if inp == "mydick":
|
||||
return "error: unable to process request, input too short!"
|
||||
notice(gen_password(inp))
|
||||
|
|
Reference in a new issue