press x to pay respects

This commit is contained in:
Christine Dodrill 2015-12-31 00:54:31 -08:00
parent efc5d32de7
commit 81bf7da25a
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"