Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 4b199e9629
Fetching contributors…

Cannot retrieve contributors at this time

17 lines (14 sloc) 0.435 kB
#!/usr/bin/python3
"""
nsfw.py - some things just aren't safe for work, a phenny module
author: Casey Link <unnamedrambler@gmail.com
"""
def nsfw(phenny, input):
link = input.group(2)
if not link:
phenny.say(".nsfw <link> - for when a link isn't safe for work")
return
phenny.say("!!NSFW!! -> %s <- !!NSFW!!" % (link))
nsfw.rule = (['nsfw'], r'(.*)')
if __name__ == '__main__':
print(__doc__.strip())
Jump to Line
Something went wrong with that request. Please try again.