Added simple ROT13 command
This commit is contained in:
parent
a45d470363
commit
a16b1776f8
|
@ -35,3 +35,9 @@ def decypher(inp):
|
|||
passwd = inp.split(" ")[0]
|
||||
inp = " ".join(inp.split(" ")[1:])
|
||||
return decode(passwd,inp)
|
||||
|
||||
|
||||
@hook.command
|
||||
def rot13(inp):
|
||||
"""rot13 <string> -- Encode <string> with rot13."""
|
||||
return inp.encode('rot13')
|
||||
|
|
Reference in a new issue