little thing

This commit is contained in:
Akamaru 2015-06-26 14:02:20 +02:00
parent f3571e2091
commit eaa56879ea
2 changed files with 2 additions and 1 deletions

View File

@ -1,3 +1,4 @@
function run(msg, matches) function run(msg, matches)
text = matches[2] text = matches[2]
local user_name = get_name(msg) local user_name = get_name(msg)

View File

@ -82,7 +82,7 @@ return {
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
} }