Changes...
This commit is contained in:
parent
cfe627ae25
commit
f52009e72b
@ -39,7 +39,7 @@ function get_yt_data (yt_code)
|
|||||||
return data
|
return data
|
||||||
end
|
end
|
||||||
|
|
||||||
local function convertISO8601Time(duration)
|
function convertISO8601Time(duration)
|
||||||
local a = {}
|
local a = {}
|
||||||
|
|
||||||
for part in string.gmatch(duration, "%d+") do
|
for part in string.gmatch(duration, "%d+") do
|
||||||
|
@ -14,6 +14,8 @@ local bindings = require('otouto.bindings')
|
|||||||
local redis = (loadfile "./otouto/redis.lua")()
|
local redis = (loadfile "./otouto/redis.lua")()
|
||||||
local mimetype = (loadfile "./otouto/mimetype.lua")()
|
local mimetype = (loadfile "./otouto/mimetype.lua")()
|
||||||
|
|
||||||
|
HTTP.timeout = 10
|
||||||
|
|
||||||
-- For the sake of ease to new contributors and familiarity to old contributors,
|
-- For the sake of ease to new contributors and familiarity to old contributors,
|
||||||
-- we'll provide a couple of aliases to real bindings here.
|
-- 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)
|
function utilities:send_message(chat_id, text, disable_web_page_preview, reply_to_message_id, use_markdown, reply_markup)
|
||||||
|
Reference in New Issue
Block a user