gif als Datei senden

This commit is contained in:
Akamaru 2015-11-22 23:10:13 +01:00
parent 79828a477a
commit 76b931fb64

View File

@ -31,8 +31,12 @@ local function run(msg, matches)
receiver=receiver,
url=url
}
if string.ends(url, ".gif") then
send_document_from_url(receiver, url)
else
send_msg(receiver, id, send_photo_from_url_callback, cb_extra)
end
end
return {
description = "Sendet zufälliges Bild von rule34.xxx",