no message
This commit is contained in:
parent
d673f8d15c
commit
af9f024d63
|
@ -1,7 +0,0 @@
|
|||
from util import hook, text
|
||||
|
||||
|
||||
@hook.command
|
||||
def munge(inp):
|
||||
"""munge <text> -- Munges up <text>."""
|
||||
return text.munge(inp)
|
|
@ -1,4 +1,4 @@
|
|||
from util import hook
|
||||
from util import hook, text
|
||||
import hashlib
|
||||
|
||||
# basic text tools
|
||||
|
@ -61,3 +61,11 @@ def hash(inp):
|
|||
"""hash <string> -- Returns hashes of <string>."""
|
||||
return ', '.join(x + ": " + getattr(hashlib, x)(inp).hexdigest()
|
||||
for x in ['md5', 'sha1', 'sha256'])
|
||||
|
||||
# novelty
|
||||
|
||||
@hook.command
|
||||
def munge(inp):
|
||||
"""munge <text> -- Munges up <text>."""
|
||||
return text.munge(inp)
|
||||
|
||||
|
|
Reference in New Issue