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()