From 81bf7da25a87bf3af070d9b83c09a17ba72cf366 Mon Sep 17 00:00:00 2001 From: Christine Dodrill Date: Thu, 31 Dec 2015 00:54:31 -0800 Subject: [PATCH] press x to pay respects --- plugins/shitposting.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugins/shitposting.py b/plugins/shitposting.py index 8316a44..a3b1a0e 100644 --- a/plugins/shitposting.py +++ b/plugins/shitposting.py @@ -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"