# in pattern for url_title
This commit is contained in:
parent
48c90b3717
commit
724696f2f2
@ -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
|
||||
|
||||
|
@ -1,4 +1,3 @@
|
||||
|
||||
do
|
||||
|
||||
function getGoogleImage(text)
|
||||
|
@ -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
|
Reference in New Issue
Block a user