From 611bec21cc7a619b16262a6fc9ccc0092ebee136 Mon Sep 17 00:00:00 2001 From: komil Date: Thu, 19 Jan 2017 17:54:25 +0330 Subject: [PATCH] Update botapi.lua --- botapi.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/botapi.lua b/botapi.lua index 799491c..65794a9 100644 --- a/botapi.lua +++ b/botapi.lua @@ -15,7 +15,7 @@ package.cpath = package.cpath .. ';.luarocks/lib/lua/5.2/?.so' local https = require "ssl.https" local serpent = require "serpent" -local json = (loadfile "./libs/JSON.lua")() +local json = (loadfile "./bot/libs/JSON.lua")() local config = (loadfile './data/config.lua')() local url = 'https://api.telegram.org/bot' .. config.bot_api.key @@ -66,4 +66,4 @@ local function run() end end -return run() \ No newline at end of file +return run()