From c11542ea9aba1a2d1dd05aaa754cb005a8f5b2a1 Mon Sep 17 00:00:00 2001 From: Sergey Melekhin Date: Wed, 21 Feb 2024 19:57:38 +0700 Subject: [PATCH] typo --- Pipfile | 2 +- bot/skills/chat.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Pipfile b/Pipfile index c487f8a..d650964 100644 --- a/Pipfile +++ b/Pipfile @@ -5,7 +5,7 @@ name = "pypi" [[description]] name = "vldc-bot" -version = "0.8.6" +version = "0.8.7" description = "VLDC nyan bot ^_^" authors = [ #tg diff --git a/bot/skills/chat.py b/bot/skills/chat.py index 4f1ba74..581fa25 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(