Changes...

This commit is contained in:
Andreas Bielawski 2016-07-12 00:04:42 +02:00
parent cfe627ae25
commit f52009e72b
2 changed files with 3 additions and 1 deletions

View File

@ -39,7 +39,7 @@ function get_yt_data (yt_code)
return data
end
local function convertISO8601Time(duration)
function convertISO8601Time(duration)
local a = {}
for part in string.gmatch(duration, "%d+") do

View File

@ -14,6 +14,8 @@ local bindings = require('otouto.bindings')
local redis = (loadfile "./otouto/redis.lua")()
local mimetype = (loadfile "./otouto/mimetype.lua")()
HTTP.timeout = 10
-- For the sake of ease to new contributors and familiarity to old contributors,
-- we'll provide a couple of aliases to real bindings here.
function utilities:send_message(chat_id, text, disable_web_page_preview, reply_to_message_id, use_markdown, reply_markup)