This commit is contained in:
mutantmonkey
2012-06-28 19:03:10 -07:00
parent 9f11190f0b
commit 78441d5fbf
2 changed files with 1 additions and 20 deletions

View File

@@ -52,15 +52,6 @@ def c(phenny, input):
c.commands = ['c']
c.example = '.c 5 + 3'
def py(phenny, input):
query = input.group(2) or ""
uri = 'http://tumbolia.appspot.com/py/'
answer = web.get(uri + web.quote(query))
if answer:
phenny.say(answer)
else: phenny.reply('Sorry, no result.')
py.commands = ['py']
def wa(phenny, input):
if not input.group(2):
return phenny.reply("No search term.")