fixed gifeye.lua
This commit is contained in:
parent
e776c1ccb0
commit
efe6c82ddc
@ -1,12 +1,8 @@
|
|||||||
local function run(msg, matches)
|
local function run(msg, matches)
|
||||||
local receiver = get_receiver(msg)
|
local receiver = get_receiver(msg)
|
||||||
local url = 'http://i.gifeye.com/'..matches[1]..'.gif'
|
local url = 'http://i.gifeye.com/'..matches[1]..'.gif'
|
||||||
if not file_path then
|
|
||||||
return 'Kein GIF gefunden'
|
|
||||||
else
|
|
||||||
print("GIF URL: "..url)
|
print("GIF URL: "..url)
|
||||||
send_document_from_url(receiver, url)
|
send_document_from_url(receiver, url)
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
Reference in New Issue
Block a user