h to pay respects

This commit is contained in:
Christine Dodrill 2016-01-04 08:38:28 -08:00
parent 0db11688c3
commit c576297b02
1 changed files with 4 additions and 0 deletions

View File

@ -13,6 +13,10 @@ def h(inp, channel=None, conn=None):
suff = inp.group(2).replace("!", "?")
return inp.group(1) + suff
@hook.regex(r"^(|press )([xfh]) to pay respects$")
def pay_respects(inp):
return inp.group(2)
@hook.regex("dQw4w9WgXcQ")
def rickrollProtector(inp):
return "linked a rick roll, watch out"