overhauled help

This commit is contained in:
neersighted 2012-02-28 10:03:43 +08:00 committed by lukeroge
parent 0fdf370733
commit c58192f72c
58 changed files with 124 additions and 117 deletions

View file

@ -22,7 +22,7 @@ def timezone(ip):
@hook.command
@hook.command("location")
def geoip(inp, say = None, bot = None):
".geoip <ip> - Performs a location check on the ip given."
".geoip <ip> - Performs a location check on <ip>."
api_key = bot.config.get("api_keys", {}).get("geoip", None)
if api_key is None:
return "error: no api key set"