config, locale in lua

personality.lua -> interactions.lua
innumerable improvements
This commit is contained in:
topkecleon
2015-07-15 02:15:23 -04:00
parent 42cda22ab6
commit a1a4978a1b
30 changed files with 289 additions and 303 deletions

View File

@ -1,9 +1,9 @@
-- bindings.lua
-- Functions for the Telegram API.
-- Requires ssl.https ('HTTPS'), socket.url ('URL'), and a json decoder ('JSON').
-- Also requires config.BOT_API_KEY.
-- Also requires config.bot_api_key.
local BASE_URL = 'https://api.telegram.org/bot' .. config.BOT_API_KEY .. '/'
local BASE_URL = 'https://api.telegram.org/bot' .. config.bot_api_key .. '/'
local function send_request(url)