Merge pull request #92 from bb010g/patch-2
Support Youtube links with "_" in their URL
This commit is contained in:
commit
edbb7e3441
@ -31,10 +31,10 @@ return {
|
|||||||
description = "Sends YouTube info and image.",
|
description = "Sends YouTube info and image.",
|
||||||
usage = "",
|
usage = "",
|
||||||
patterns = {
|
patterns = {
|
||||||
"youtu.be/([A-Za-z0-9-]+)",
|
"youtu.be/([_A-Za-z0-9-]+)",
|
||||||
"youtube.com/watch%?v=([A-Za-z0-9-]+)",
|
"youtube.com/watch%?v=([_A-Za-z0-9-]+)",
|
||||||
},
|
},
|
||||||
run = run
|
run = run
|
||||||
}
|
}
|
||||||
|
|
||||||
end
|
end
|
||||||
|
Reference in New Issue
Block a user