pattern-fix for webshot.lua and url_title.lua
This commit is contained in:
parent
243418237b
commit
425a32a4f8
@ -58,7 +58,7 @@ function run(msg, matches)
|
|||||||
return {
|
return {
|
||||||
description = "Postet URL-Titel",
|
description = "Postet URL-Titel",
|
||||||
usage = {"Irgendein Link"},
|
usage = {"Irgendein Link"},
|
||||||
patterns = {"^(https?://[%w-_%.%?%.:,/%+=&#]+)$",},
|
patterns = {"^(https?://[%w-_%.%?%.:,/%+=&#!]+)$",},
|
||||||
run = run
|
run = run
|
||||||
}
|
}
|
||||||
end
|
end
|
@ -49,8 +49,8 @@ return {
|
|||||||
description = "Sendet einen Screenshot einer Webseite.",
|
description = "Sendet einen Screenshot einer Webseite.",
|
||||||
usage = "/webshot [URL]//scrot [URL]",
|
usage = "/webshot [URL]//scrot [URL]",
|
||||||
patterns = {
|
patterns = {
|
||||||
"^/webshot (https?://[%w-_%.%?%.:/%+=&]+)$",
|
"^/webshot (https?://[%w-_%.%?%.:,/%+=&#!]+)$",
|
||||||
"^/scrot (https?://[%w-_%.%?%.:/%+=&]+)$"
|
"^/scrot (https?://[%w-_%.%?%.:,/%+=&#!]+)$"
|
||||||
},
|
},
|
||||||
run = run
|
run = run
|
||||||
}
|
}
|
Reference in New Issue
Block a user