From ea3d9e2e54ff855ee9a9913bd11d6e0f241deebc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C4=9Bj=20Volf?= Date: Tue, 6 Jan 2026 09:21:42 +0100 Subject: [PATCH 1/2] =?UTF-8?q?nez=C3=A1bava?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/tg/bot.deno.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/tg/bot.deno.ts b/src/tg/bot.deno.ts index c8aa56b..c284974 100644 --- a/src/tg/bot.deno.ts +++ b/src/tg/bot.deno.ts @@ -198,7 +198,9 @@ export async function* handleTgUpdate(data: any) { if ( text.toLowerCase().includes("pad") || - text.toLowerCase().includes("pád") + (text.toLowerCase().includes("pád") && + !text.toLowerCase().includes("vypada") && + !text.toLowerCase().includes("vypadá")) ) { yield await tgCall( { From a8f08c347863cade8145f110a26450f4b02c0eff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C4=9Bj=20Volf?= Date: Tue, 6 Jan 2026 09:25:36 +0100 Subject: [PATCH 2/2] ()))((())()()()(()()))()(()(()()()())(())((((((((())(()() --- src/tg/bot.deno.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/tg/bot.deno.ts b/src/tg/bot.deno.ts index c284974..7f8b080 100644 --- a/src/tg/bot.deno.ts +++ b/src/tg/bot.deno.ts @@ -197,10 +197,10 @@ export async function* handleTgUpdate(data: any) { } if ( - text.toLowerCase().includes("pad") || - (text.toLowerCase().includes("pád") && - !text.toLowerCase().includes("vypada") && - !text.toLowerCase().includes("vypadá")) + (text.toLowerCase().includes("pad") || + text.toLowerCase().includes("pád")) && + !text.toLowerCase().includes("vypada") && + !text.toLowerCase().includes("vypadá") ) { yield await tgCall( {