From 2afde219a9a88f6c36817b88dec3a732de4b18bb Mon Sep 17 00:00:00 2001 From: Remy Moll Date: Thu, 3 Aug 2023 09:05:45 +0000 Subject: [PATCH] Fixed kinda broken regex --- bot/commands/turtle.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/commands/turtle.py b/bot/commands/turtle.py index 367e968..b3af7aa 100644 --- a/bot/commands/turtle.py +++ b/bot/commands/turtle.py @@ -18,7 +18,7 @@ class TurtleHandler(BaseHandler): def __init__(self): self.entry_string = "Variation of hallo" self.handler = MessageHandler( - filters.Regex(r"[hH]([aA]+|[eE]+)[lL]{2,}[oOöÖ]+(le)?|(chen)") | + filters.Regex(r"[hH]([aA]+|[eE]+)[lL]{2,}[oOöÖ]+(le|chen)?") | # react to hello strings filters.Regex(b"\xF0\x9F\x90\xA2".decode("utf8")) | # react to turtle emoji