From e86fa6635aa070a9d16c7636512f011471cb2b53 Mon Sep 17 00:00:00 2001 From: Bulat Kurbanov Date: Tue, 18 Feb 2025 23:43:58 +0100 Subject: [PATCH] Fix --- src/modules/stream_notifications/messages_proc.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/modules/stream_notifications/messages_proc.py b/src/modules/stream_notifications/messages_proc.py index 69ed20f..fa3bf91 100644 --- a/src/modules/stream_notifications/messages_proc.py +++ b/src/modules/stream_notifications/messages_proc.py @@ -192,9 +192,7 @@ class MessagesProc: if "lasqexx" in event.chatter_user_login: pass # Todo: Здароу - if event.message.text.lower().startswith("!ai") or ( - event.reply and event.reply.parent_message_body.lower().startswith("!ai") - ): + if event.message.text.lower().startswith("!ai"): try: messages = cls.get_message_history_with_thread(event.message_id) completion = await get_completion(messages)