disabled many plugins

This commit is contained in:
ChChBot admin 2015-02-18 22:49:55 +01:00
parent 0ba2001b62
commit 7cce9bf27e
119 changed files with 0 additions and 20 deletions

14
disabled_stuff/lmgtfy.py Normal file
View file

@ -0,0 +1,14 @@
from util import hook, web, http
@hook.command('gfy')
@hook.command
def lmgtfy(inp):
"""lmgtfy [phrase] - Posts a google link for the specified phrase"""
link = u"http://lmgtfy.com/?q={}".format(http.quote_plus(inp))
try:
return web.isgd(link)
except (web.ShortenError, http.HTTPError):
return link