From ca0f5bf3deed8bbc82a79834a9419233b559ce14 Mon Sep 17 00:00:00 2001 From: huker667 Date: Thu, 6 Aug 2026 08:34:20 +0300 Subject: фикс отклика MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'helpers.py') diff --git a/helpers.py b/helpers.py index 3ca95d0..57f8b30 100644 --- a/helpers.py +++ b/helpers.py @@ -55,7 +55,7 @@ def is_replied_bot(message, is_channel, user_text, config=None): if config: if config.get("call") == "da": mentions_bot = any( - user_text.lower().startswith(call.lower()) for call in BOT_CALLS + user_text.lower().split(" ", 1)[0] == call for call in BOT_CALLS ) for call in BOT_CALLS: if call.startswith("@"): -- cgit v1.3.1