remove .py

master
mutantmonkey 2011-09-07 20:04:42 -04:00
parent 4b9215a202
commit 352925b1c4
1 changed files with 0 additions and 9 deletions

View File

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