phenny-1/modules/botsnack.py

20 lines
368 B
Python
Raw Normal View History

2010-11-11 17:49:07 -05:00
#!/usr/bin/python2
"""
botsnack.py - .botsnack module
author: mutantmonkey <mutantmonkey@gmail.com>
"""
import random
def botsnack(phenny, input):
messages = ["Om nom nom", "Delicious, thanks!"]
response = random.choice(messages)
phenny.say(response)
botsnack.commands = ['botsnack']
botsnack.priority = 'low'
if __name__ == '__main__':
print __doc__.strip()