john madden

This commit is contained in:
Christine Dodrill 2015-11-11 14:14:35 -08:00
parent 0da4efdc09
commit ffc9d7ca0d
1 changed files with 6 additions and 1 deletions

View File

@ -6,7 +6,12 @@ def skeltal(_):
@hook.regex(r"^([hH])(|[?!])$")
def h(inp, channel=None, conn=None):
return inp.group(1) + inp.group(2)
suff = ""
if inp.group(2) == "?":
suff = "!"
elif inp.group(2) == "!":
suff = "?"
return inp.group(1) + suff
@hook.regex("dQw4w9WgXcQ")
def rickrollProtector(inp):