From: Thorsten S Date: Sat, 7 Mar 2020 00:12:58 +0000 (+0100) Subject: frühstücksfix X-Git-Url: https://git.aero2k.de/?a=commitdiff_plain;h=a1767d85d63ceded18dd8b5699e1ec5927e13034;p=urlbot-v3.git frühstücksfix --- diff --git a/distbot/bot/bot.py b/distbot/bot/bot.py index 72c9511..0bd6094 100644 --- a/distbot/bot/bot.py +++ b/distbot/bot/bot.py @@ -124,7 +124,7 @@ class Bot(sleekxmpp.ClientXMPP): self.echo("Worker One available for master.") # simplify the key significantly - key = shlex.split(re.sub(r'[^a-z0-9 "\']', '', msg["body"].lower())) + key = shlex.split(re.sub(r'[^a-zäöüß0-9 "\']', '', msg["body"].lower())) if not key: # simple dots, smilies, emoji shit, pass through key = shlex.split(msg["body"].lower())