john madden
This commit is contained in:
parent
0da4efdc09
commit
ffc9d7ca0d
|
@ -6,7 +6,12 @@ def skeltal(_):
|
||||||
|
|
||||||
@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) + inp.group(2)
|
suff = ""
|
||||||
|
if inp.group(2) == "?":
|
||||||
|
suff = "!"
|
||||||
|
elif inp.group(2) == "!":
|
||||||
|
suff = "?"
|
||||||
|
return inp.group(1) + suff
|
||||||
|
|
||||||
@hook.regex("dQw4w9WgXcQ")
|
@hook.regex("dQw4w9WgXcQ")
|
||||||
def rickrollProtector(inp):
|
def rickrollProtector(inp):
|
||||||
|
|
Loading…
Reference in New Issue