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 {
|
||||
description = "Postet URL-Titel",
|
||||
usage = {"Irgendein Link"},
|
||||
patterns = {"^(https?://[%w-_%.%?%.:,/%+=&#]+)$",},
|
||||
patterns = {"^(https?://[%w-_%.%?%.:,/%+=&#!]+)$",},
|
||||
run = run
|
||||
}
|
||||
end
|
@ -49,8 +49,8 @@ return {
|
||||
description = "Sendet einen Screenshot einer Webseite.",
|
||||
usage = "/webshot [URL]//scrot [URL]",
|
||||
patterns = {
|
||||
"^/webshot (https?://[%w-_%.%?%.:/%+=&]+)$",
|
||||
"^/scrot (https?://[%w-_%.%?%.:/%+=&]+)$"
|
||||
"^/webshot (https?://[%w-_%.%?%.:,/%+=&#!]+)$",
|
||||
"^/scrot (https?://[%w-_%.%?%.:,/%+=&#!]+)$"
|
||||
},
|
||||
run = run
|
||||
}
|
Reference in New Issue
Block a user