Added more triggers to .gis
This commit is contained in:
parent
f83f57be60
commit
ba7304a071
|
@ -9,8 +9,10 @@ def api_get(kind, query):
|
|||
return http.get_json(url % kind, q=query)
|
||||
|
||||
|
||||
@hook.command('image')
|
||||
@hook.command('gis')
|
||||
@hook.command
|
||||
def gis(inp):
|
||||
def googleimage(inp):
|
||||
".gis <term> -- Returns first Google Image result (Safesearch off)."
|
||||
|
||||
parsed = api_get('images', inp)
|
||||
|
|
Reference in a new issue