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

@ -14,10 +14,10 @@ gifeye.command = 'ge <ID>'
function gifeye:action(msg, config, matches)
local url = 'http://i.gifeye.com/'..matches[1]..'.gif'
utilities.send_typing(self, msg.chat.id, 'upload_document')
utilities.send_typing(msg.chat.id, 'upload_document')
local file = download_to_file(url)
if not file then
utilities.send_reply(self, msg, config.errors.results)
utilities.send_reply(msg, config.errors.results)
return
end
@ -26,7 +26,7 @@ function gifeye:action(msg, config, matches)
else
source = nil
end
utilities.send_document(self, msg.chat.id, file, source, msg.message_id)
utilities.send_document(msg.chat.id, file, source, msg.message_id)
end
return gifeye