generic h

This commit is contained in:
Christine Dodrill 2015-11-10 16:49:46 -08:00
parent 2ad7f43c0c
commit d3f97b41e4
1 changed files with 2 additions and 2 deletions

View File

@ -4,9 +4,9 @@ from util import hook
def skeltal(_):
return "https://www.youtube.com/watch?v=10pqeNBg5d0"
@hook.regex(r"^([hH])$")
@hook.regex(r"^([hH])(|.)$")
def h(inp, channel=None, conn=None):
return inp.group(1)
return inp.group(1) + inp.group(2)
@hook.regex("dQw4w9WgXcQ")
def rickrollProtector(inp):