Skip to content

Commit 0d9e000

Browse files
committed
semtinnt amalysis
1 parent 0d9e000 commit 0d9e000

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

tgbot.deno.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -445,6 +445,17 @@ async function* handleTgUpdate(data: any) {
445445
});
446446
}
447447

448+
if (
449+
text.toLowerCase().includes("software") &&
450+
!(text.toLowerCase().includes("víc špatný") ||
451+
text.toLowerCase().includes("vic spatny"))
452+
) {
453+
await tgCall({
454+
chat_id: data.message.chat.id,
455+
text: "SENTIMENT ANALYSIS: víc software => víc špatný.",
456+
});
457+
}
458+
448459
if (
449460
text.toLowerCase().includes("gnu") &&
450461
text.toLowerCase().includes("linux") &&

0 commit comments

Comments
 (0)