rule34.lua: Sende Source bei gifs
This commit is contained in:
parent
d51ee9bf1d
commit
160328cc5f
@ -32,7 +32,7 @@ local function run(msg, matches)
|
|||||||
url=url
|
url=url
|
||||||
}
|
}
|
||||||
if string.ends(url, ".gif") then
|
if string.ends(url, ".gif") then
|
||||||
send_document_from_url(receiver, url)
|
send_msg(receiver, id, send_document_from_url_callback, cb_extra)
|
||||||
else
|
else
|
||||||
send_msg(receiver, id, send_photo_from_url_callback, cb_extra)
|
send_msg(receiver, id, send_photo_from_url_callback, cb_extra)
|
||||||
end
|
end
|
||||||
|
Reference in New Issue
Block a user