generic h
This commit is contained in:
parent
2ad7f43c0c
commit
d3f97b41e4
|
@ -4,9 +4,9 @@ from util import hook
|
||||||
def skeltal(_):
|
def skeltal(_):
|
||||||
return "https://www.youtube.com/watch?v=10pqeNBg5d0"
|
return "https://www.youtube.com/watch?v=10pqeNBg5d0"
|
||||||
|
|
||||||
@hook.regex(r"^([hH])$")
|
@hook.regex(r"^([hH])(|.)$")
|
||||||
def h(inp, channel=None, conn=None):
|
def h(inp, channel=None, conn=None):
|
||||||
return inp.group(1)
|
return inp.group(1) + inp.group(2)
|
||||||
|
|
||||||
@hook.regex("dQw4w9WgXcQ")
|
@hook.regex("dQw4w9WgXcQ")
|
||||||
def rickrollProtector(inp):
|
def rickrollProtector(inp):
|
||||||
|
|
Loading…
Reference in New Issue