gif als Datei senden
This commit is contained in:
parent
79828a477a
commit
76b931fb64
@ -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",
|
||||
|
Reference in New Issue
Block a user