Fixed kinda broken regex
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
a666b8e9ae
commit
2afde219a9
@ -18,7 +18,7 @@ class TurtleHandler(BaseHandler):
|
|||||||
def __init__(self):
|
def __init__(self):
|
||||||
self.entry_string = "Variation of hallo"
|
self.entry_string = "Variation of hallo"
|
||||||
self.handler = MessageHandler(
|
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
|
# react to hello strings
|
||||||
filters.Regex(b"\xF0\x9F\x90\xA2".decode("utf8")) |
|
filters.Regex(b"\xF0\x9F\x90\xA2".decode("utf8")) |
|
||||||
# react to turtle emoji
|
# react to turtle emoji
|
||||||
|
Loading…
x
Reference in New Issue
Block a user