# in pattern for url_title

This commit is contained in:
Akamaru 2015-06-19 22:45:42 +02:00
parent 48c90b3717
commit 724696f2f2
3 changed files with 2 additions and 3 deletions

View File

@ -8,7 +8,7 @@ local function run(msg, matches)
local receiver = get_receiver(msg)
send_photo_from_url(receiver, url)
else
return 'Konnte kein Bild mit "' .. matches[1] .. '" erstellen'
return 'Konnte kein Bild mit "' .. matches[1] .. '" erstellen.'
end
end

View File

@ -1,4 +1,3 @@
do
function getGoogleImage(text)

View File

@ -58,7 +58,7 @@ function run(msg, matches)
return {
description = "Postet URL-Titel",
usage = {"Irgendein Link"},
patterns = {"^(https?://[%w-_%.%?%.:,/%+=&]+)$",},
patterns = {"^(https?://[%w-_%.%?%.:,/%+=&#]+)$",},
run = run
}
end