Merge pull request #92 from bb010g/patch-2

Support Youtube links with "_" in their URL
This commit is contained in:
Yago 2015-03-25 09:39:28 +01:00
commit edbb7e3441

View File

@ -31,10 +31,10 @@ return {
description = "Sends YouTube info and image.",
usage = "",
patterns = {
"youtu.be/([A-Za-z0-9-]+)",
"youtube.com/watch%?v=([A-Za-z0-9-]+)",
"youtu.be/([_A-Za-z0-9-]+)",
"youtube.com/watch%?v=([_A-Za-z0-9-]+)",
},
run = run
}
end
end