Upstream + alle Plugins angepasst

This commit is contained in:
Andreas Bielawski
2016-08-24 17:18:17 +02:00
161 changed files with 1074 additions and 937 deletions

View File

@ -13,14 +13,14 @@ z0r.command = 'z0r <ID>'
function z0r:action(msg, config, matches)
local id = matches[1]
utilities.send_typing(self, msg.chat.id, 'upload_video')
utilities.send_typing(msg.chat.id, 'upload_video')
local url = 'http://z0r.de/L/z0r-de_'..matches[1]..'.swf'
local file = download_to_file(url)
if not file then
utilities.send_reply(self, msg, config.errors.connection)
utilities.send_reply(msg, config.errors.connection)
return
end
utilities.send_document(self, msg.chat.id, file, nil, msg.message_id)
utilities.send_document(msg.chat.id, file, nil, msg.message_id)
end
return z0r