Skip to content

Commit 0d9e000

Browse files
amogus?
Signed-off-by: Marek Maškarinec <[email protected]>
1 parent 0d9e000 commit 0d9e000

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

tgbot.deno.ts

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -437,6 +437,14 @@ async function* handleTgUpdate(data: any) {
437437
});
438438
}
439439

440+
if (text.toLowerCase().includes("zig")) {
441+
await tgCall({
442+
chat_id: data.message.chat.id,
443+
text:
444+
`Pánové, toto je certifikované Zig. Miluji Zig. Co je Zigové, to je suprové. Zigový moment.`,
445+
});
446+
}
447+
440448
if (
441449
text.toLowerCase().includes("gnu") &&
442450
text.toLowerCase().includes("linux") &&
@@ -604,11 +612,6 @@ Be grateful for your abilities and your incredible success and your considerable
604612
genitiv: "PHP",
605613
popis: "psaní PHP by mělo být krimiálně trestáno",
606614
},
607-
{
608-
trigger: "Zig",
609-
genitiv: "Zigu",
610-
popis: "Zig je jenom glorified C a měl by být zakázán",
611-
},
612615
{
613616
trigger: "Rust",
614617
regex: /\br[uů]st/i,

0 commit comments

Comments
 (0)