diff --git a/modules/stache.py b/modules/stache.py new file mode 100644 index 0000000..e012ab3 --- /dev/null +++ b/modules/stache.py @@ -0,0 +1,16 @@ +#!/usr/bin/python3 +""" +stache.py - mustachify.me module +author: mutantmonkey +""" + +import web + +def stache(phenny, input): + """.stache - Mustachify an image.""" + url = input.group(2) + phenny.reply('http://mustachify.me/?src=' + web.quote(url)) +stache.rule = (['stache'], r'(.*)') + +if __name__ == '__main__': + print(__doc__.strip())