diff --git a/bot/skills/chat.py b/bot/skills/chat.py index ec2eaf4..592d53a 100644 --- a/bot/skills/chat.py +++ b/bot/skills/chat.py @@ -38,7 +38,7 @@ def __init__(self): def registerMessage(self, update: Update, context: CallbackContext): if update.message is None: return - if update.message.text.starts_with("/"): + if update.message.text.startswith("/"): return with self.lock: self.memory.append(