Support Youtube links with "_" in their URL
Noticed when https://www.youtube.com/watch?v=rE3j_RHkqJc didn't gen anything.
This commit is contained in:
parent
b2165a0983
commit
cf16172072
@ -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