fix
This commit is contained in:
parent
aafdf42449
commit
b43b52e3f3
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ def timezone(ip):
|
|||
@hook.command
|
||||
@hook.command("location")
|
||||
def geoip(inp, say=None, bot=None):
|
||||
".geoip <ip> - Performs a location check on <ip>."
|
||||
"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"
|
||||
|
|
Reference in a new issue